#ifndef TIMESCALEDB_CONFIG_H
#define TIMESCALEDB_CONFIG_H

#define TIMESCALEDB_VERSION "@PROJECT_VERSION@"
#define TIMESCALEDB_VERSION_MOD "@PROJECT_VERSION_MOD@"
#define TIMESCALEDB_MAJOR_VERSION "@PROJECT_VERSION_MAJOR@"
#define TIMESCALEDB_MINOR_VERSION "@PROJECT_VERSION_MINOR@"
#define TIMESCALEDB_PATCH_VERSION "@PROJECT_VERSION_PATCH@"
#define TIMESCALEDB_MOD_VERSION "@VERSION_MOD@"
#define BUILD_OS_NAME "@CMAKE_SYSTEM_NAME@"
#define BUILD_OS_VERSION "@CMAKE_SYSTEM_VERSION@"
#define BUILD_PROCESSOR "@CMAKE_SYSTEM_PROCESSOR@"
#define BUILD_POINTER_BYTES @CMAKE_SIZEOF_VOID_P@

/*
 * Value should be set in package release scripts. Otherwise
 * defaults to "source"
 */
#define TIMESCALEDB_INSTALL_METHOD "@PROJECT_INSTALL_METHOD@"

/* Platform */
#ifndef WIN32
#cmakedefine WIN32
#endif
#ifndef MSVC
#cmakedefine MSVC
#endif
#ifndef UNIX
#cmakedefine UNIX
#endif
#ifndef APPLE
#cmakedefine APPLE
#endif

#ifndef DEBUG
#cmakedefine DEBUG
#endif

#ifndef TS_DEBUG
#cmakedefine TS_DEBUG
#endif

#ifndef USE_TELEMETRY
#cmakedefine USE_TELEMETRY
#endif

#ifndef TELEMETRY_DEFAULT
#cmakedefine TELEMETRY_DEFAULT @TELEMETRY_DEFAULT@
#endif

/* Avoid conflicts with USE_OPENSSL defined by PostgreSQL */
#cmakedefine TS_USE_OPENSSL

#endif /* TIMESCALEDB_CONFIG_H */
