#ifdef _WIN32
#define CONFIG_H
#cmakedefine HAVE__FTIME64_S
#define HAVE_QUERYPERFORMANCECOUNTER
#include "config_static.h"
#endif

#ifndef CONFIG_H
#define CONFIG_H

/* This file checks for platform-specific includes which may or may
 * not be available during build time. The config_static.h file includes
 * files mentioned here as well as other files whose availability can be
 * inferred from compile-time macros
 */

#cmakedefine HAVE_CLOCK_GETTIME
#cmakedefine HAVE_DLFCN_H
#cmakedefine HAVE_GETHRTIME
#cmakedefine HAVE_GETTIMEOFDAY
#cmakedefine HAVE_INTTYPES_H
#cmakedefine HAVE_NETDB_H
#cmakedefine HAVE_SETITIMER
#cmakedefine HAVE_STDINT_H
#cmakedefine HAVE_STDDEF_H
#cmakedefine HAVE_FCNTL_H
#cmakedefine HAVE_HTONLL
#cmakedefine HAVE_STRINGS_H
#cmakedefine HAVE_SYS_SOCKET_H
#cmakedefine HAVE_SYS_STAT_H
#cmakedefine HAVE_SYS_TIME_H
#cmakedefine HAVE_SYS_TYPES_H
#cmakedefine HAVE_SYS_UIO_H
#cmakedefine HAVE_UNISTD_H
#cmakedefine HAVE_ARPA_INET_H
#cmakedefine HAVE_RES_SEARCH
#cmakedefine HAVE_ARPA_NAMESER_H

#ifndef HAVE_LIBEVENT
#cmakedefine HAVE_LIBEVENT
#endif

#ifndef HAVE_LIBEVENT2
#cmakedefine HAVE_LIBEVENT2
#endif

#ifndef HAVE_LIBEV3
#cmakedefine HAVE_LIBEV3
#endif

#ifndef HAVE_LIBEV4
#cmakedefine HAVE_LIBEV4
#endif

#ifndef HAVE_LIBUV
#cmakedefine HAVE_LIBUV
#endif

#cmakedefine LCB_USE_HDR_HISTOGRAM

#include "config_static.h"
#endif

#define LCB_LIBDIR "${CMAKE_INSTALL_LIBDIR}/libcouchbase"

#define LCB_SYSTEM "${CMAKE_SYSTEM}"
#define LCB_SYSTEM_PROCESSOR "${CMAKE_SYSTEM_PROCESSOR}"
#define LCB_CXX_COMPILER "${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}"
#define LCB_CXX_FLAGS "${CMAKE_CXX_FLAGS}"
#define LCB_C_COMPILER "${CMAKE_C_COMPILER_ID} ${CMAKE_C_COMPILER_VERSION}"
#define LCB_C_FLAGS "${CMAKE_C_FLAGS}"
#define LCB_BUILD_TIMESTAMP "${LCB_BUILD_TIMESTAMP}"

#define LCB_CLIENT_ID "libcouchbase/" LCB_VERSION_STRING " (" LCB_SYSTEM "; " LCB_SYSTEM_PROCESSOR "; " LCB_C_COMPILER ")"

#cmakedefine HAVE_PKCS5_PBKDF2_HMAC
#cmakedefine LCB_DUMP_PACKETS

#cmakedefine LCB_TLS_LOG_KEYS