1#ifdef _WIN32
2#define CONFIG_H
3#define HAVE_QUERYPERFORMANCECOUNTER
4#include "config_static.h"
5#endif
6
7#ifndef CONFIG_H
8#define CONFIG_H
9
10/* This file checks for platform-specific includes which may or may
11 * not be available during build time. The config_static.h file includes
12 * files mentioned here as well as other files whose availability can be
13 * inferred from compile-time macros
14 */
15
16#cmakedefine HAVE_CLOCK_GETTIME
17#cmakedefine HAVE_DLFCN_H
18#cmakedefine HAVE_GETHRTIME
19#cmakedefine HAVE_GETTIMEOFDAY
20#cmakedefine HAVE_INTTYPES_H
21#cmakedefine HAVE_NETDB_H
22#cmakedefine HAVE_SETITIMER
23#cmakedefine HAVE_STDINT_H
24#cmakedefine HAVE_FCNTL_H
25#cmakedefine HAVE_HTONLL
26#cmakedefine HAVE_STRINGS_H
27#cmakedefine HAVE_SYS_SOCKET_H
28#cmakedefine HAVE_SYS_STAT_H
29#cmakedefine HAVE_SYS_TIME_H
30#cmakedefine HAVE_SYS_TYPES_H
31#cmakedefine HAVE_SYS_UIO_H
32#cmakedefine HAVE_UNISTD_H
33#cmakedefine HAVE_ARPA_INET_H
34#cmakedefine HAVE_RES_SEARCH
35#cmakedefine HAVE_ARPA_NAMESER_H
36
37#ifndef HAVE_LIBEVENT
38#cmakedefine HAVE_LIBEVENT
39#endif
40
41#ifndef HAVE_LIBEVENT2
42#cmakedefine HAVE_LIBEVENT2
43#endif
44
45#ifndef HAVE_LIBEV3
46#cmakedefine HAVE_LIBEV3
47#endif
48
49#ifndef HAVE_LIBEV4
50#cmakedefine HAVE_LIBEV4
51#endif
52
53#ifndef HAVE_LIBUV
54#cmakedefine HAVE_LIBUV
55#endif
56
57#cmakedefine LCB_USE_HDR_HISTOGRAM
58
59#define LCB_LIBDIR "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}"
60
61#include "config_static.h"
62#endif
63
64#define TEST_SHARED_OBJECT "${CMAKE_TEST_SHARED_OBJECT}"
65
66#define LCB_SYSTEM "${CMAKE_SYSTEM}"
67#define LCB_SYSTEM_PROCESSOR "${CMAKE_SYSTEM_PROCESSOR}"
68#define LCB_CXX_COMPILER "${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}"
69#define LCB_CXX_FLAGS "${CMAKE_CXX_FLAGS}"
70#define LCB_C_COMPILER "${CMAKE_C_COMPILER_ID} ${CMAKE_C_COMPILER_VERSION}"
71#define LCB_C_FLAGS "${CMAKE_C_FLAGS}"
72
73#define LCB_CLIENT_ID "libcouchbase/" LCB_VERSION_STRING " (" LCB_SYSTEM "; " LCB_SYSTEM_PROCESSOR "; " LCB_C_COMPILER ")"
74#cmakedefine LCB_STATIC_SNAPPY
75#cmakedefine LCB_SNAPPY_PKG_VERSION "${LCB_SNAPPY_PKG_VERSION}"
76