-
Notifications
You must be signed in to change notification settings - Fork 388
/
WdtConfig.h.in
29 lines (25 loc) · 955 Bytes
/
WdtConfig.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
// Source is WdtConfig.h auto generated by CMake from .in file
#pragma once
#include <fcntl.h>
#define WDT_VERSION_MAJOR @WDT_VERSION_MAJOR@
#define WDT_VERSION_MINOR @WDT_VERSION_MINOR@
#define WDT_VERSION_BUILD @WDT_VERSION_PATCH@
#define WDT_VERSION_STR "@WDT_VERSION@"
// Tie minor and proto version for now
#define WDT_PROTOCOL_VERSION WDT_VERSION_MINOR
#cmakedefine HAS_POSIX_FALLOCATE 1
#cmakedefine HAS_SYNC_FILE_RANGE 1
#cmakedefine HAS_POSIX_MEMALIGN 1
#cmakedefine HAS_POSIX_FADVISE 1
#if (defined(HAS_POSIX_MEMALIGN) && defined(O_DIRECT)) || defined(F_NOCACHE)
#define WDT_SUPPORTS_ODIRECT 1
#endif
#cmakedefine WDT_HAS_SOCKIOS_H