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
35#ifndef HAVE_LIBEVENT
36#cmakedefine HAVE_LIBEVENT
37#endif
38
39#ifndef HAVE_LIBEVENT2
40#cmakedefine HAVE_LIBEVENT2
41#endif
42
43#ifndef HAVE_LIBEV3
44#cmakedefine HAVE_LIBEV3
45#endif
46
47#ifndef HAVE_LIBEV4
48#cmakedefine HAVE_LIBEV4
49#endif
50
51#ifndef HAVE_LIBUV
52#cmakedefine HAVE_LIBUV
53#endif
54
55#define LCB_LIBDIR "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}"
56
57#include "config_static.h"
58#endif
59