123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200 |
- /* This file was generated by CMAKE from config.cmake.h.in */
- #define likely(x) __builtin_expect(!!(x), 1)
- #define unlikely(x) __builtin_expect(!!(x), 0)
- #define __always_unused __attribute__((unused))
- #define __maybe_unused __attribute__((unused))
- #cmakedefine SIZEOF_VOID_P ${SIZEOF_VOID_P}
- // platform
- #cmakedefine OS_FREEBSD
- #cmakedefine OS_LINUX
- #cmakedefine OS_MACOS
- #cmakedefine OS_WINDOWS
- // checked headers
- #cmakedefine HAVE_NETINET_IN_H
- #cmakedefine HAVE_RESOLV_H
- #cmakedefine HAVE_NETDB_H
- #cmakedefine HAVE_SYS_PRCTL_H
- #cmakedefine HAVE_SYS_STAT_H
- #cmakedefine HAVE_SYS_VFS_H
- #cmakedefine HAVE_SYS_STATFS_H
- #cmakedefine HAVE_LINUX_MAGIC_H
- #cmakedefine HAVE_SYS_MOUNT_H
- #cmakedefine HAVE_SYS_STATVFS_H
- #cmakedefine HAVE_INTTYPES_H
- #cmakedefine HAVE_STDINT_H
- #cmakedefine HAVE_SYS_CAPABILITY_H
- #cmakedefine HAVE_ARPA_INET_H
- #cmakedefine HAVE_NETINET_TCP_H
- #cmakedefine HAVE_SYS_IOCTL_H
- #cmakedefine HAVE_GRP_H
- #cmakedefine HAVE_PWD_H
- #cmakedefine HAVE_NET_IF_H
- #cmakedefine HAVE_POLL_H
- #cmakedefine HAVE_SYSLOG_H
- #cmakedefine HAVE_SYS_MMAN_H
- #cmakedefine HAVE_SYS_RESOURCE_H
- #cmakedefine HAVE_SYS_SOCKET_H
- #cmakedefine HAVE_SYS_WAIT_H
- #cmakedefine HAVE_SYS_UN_H
- #cmakedefine HAVE_SPAWN_H
- #cmakedefine HAVE_CAPABILITY
- #cmakedefine HAVE_PROTOBUF
- #cmakedefine BUNDLED_PROTOBUF
- #cmakedefine HAVE_MONGOC
- #cmakedefine HAVE_LIBDATACHANNEL
- // checked symbols
- #cmakedefine MAJOR_IN_SYSMACROS
- #cmakedefine MAJOR_IN_MKDEV
- #cmakedefine HAVE_CLOCK_GETTIME
- #cmakedefine HAVE_STRERROR_R
- #cmakedefine HAVE_FINITE
- #cmakedefine HAVE_ISFINITE
- #cmakedefine HAVE_RECVMMSG
- #cmakedefine HAVE_PTHREAD_GETTHREADID_NP
- #cmakedefine HAVE_PTHREAD_THREADID_NP
- #cmakedefine HAVE_GETTID
- #cmakedefine HAVE_WAITID
- #cmakedefine HAVE_NICE
- #cmakedefine HAVE_GETPRIORITY
- #cmakedefine HAVE_SETENV
- #cmakedefine HAVE_DLSYM
- #cmakedefine HAVE_LIBCURL
- #cmakedefine HAVE_ARC4RANDOM_BUF
- #cmakedefine HAVE_ARC4RANDOM_UNIFORM
- #cmakedefine HAVE_RAND_S
- #cmakedefine HAVE_GETRANDOM
- #cmakedefine HAVE_BACKTRACE
- #cmakedefine HAVE_CLOSE_RANGE
- #cmakedefine HAVE_SCHED_GETSCHEDULER
- #cmakedefine HAVE_SCHED_SETSCHEDULER
- #cmakedefine HAVE_SCHED_GET_PRIORITY_MIN
- #cmakedefine HAVE_SCHED_GET_PRIORITY_MAX
- #cmakedefine HAVE_SYSTEMD
- #cmakedefine HAVE_SD_JOURNAL_OS_ROOT
- #cmakedefine HAVE_SD_JOURNAL_OPEN_FILES_FD
- #cmakedefine HAVE_SD_JOURNAL_RESTART_FIELDS
- #cmakedefine HAVE_SD_JOURNAL_GET_SEQNUM
- #cmakedefine ENABLE_SYSTEMD_DBUS
- // checked source compilation
- #cmakedefine HAVE_PTHREAD_GETNAME_NP
- #cmakedefine HAVE_ACCEPT4
- #cmakedefine STRERROR_R_CHAR_P
- #cmakedefine HAVE_C__GENERIC
- #cmakedefine HAVE_C_MALLOPT
- #cmakedefine HAVE_SETNS
- #cmakedefine HAVE_STRNDUP
- #cmakedefine SSL_HAS_PENDING
- #cmakedefine HAVE_FUNC_ATTRIBUTE_FORMAT_GNU_PRINTF
- #cmakedefine HAVE_FUNC_ATTRIBUTE_FORMAT_PRINTF
- #cmakedefine HAVE_FUNC_ATTRIBUTE_MALLOC
- #cmakedefine HAVE_FUNC_ATTRIBUTE_NOINLINE
- #cmakedefine HAVE_FUNC_ATTRIBUTE_NORETURN
- #cmakedefine HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL
- #cmakedefine HAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT
- // enabled features
- #cmakedefine ENABLE_ML
- #cmakedefine ENABLE_EXPORTING_MONGODB
- #cmakedefine ENABLE_H2O
- #cmakedefine ENABLE_DBENGINE
- #cmakedefine ENABLE_LZ4
- #cmakedefine ENABLE_ZSTD
- #cmakedefine ENABLE_BROTLI
- #cmakedefine ENABLE_LOGSMANAGEMENT
- #cmakedefine ENABLE_LOGSMANAGEMENT_TESTS
- #cmakedefine ENABLE_PROMETHEUS_REMOTE_WRITE
- // enabled plugins
- #cmakedefine ENABLE_PLUGIN_DEBUGFS
- #cmakedefine ENABLE_PLUGIN_APPS
- #cmakedefine ENABLE_PLUGIN_FREEIPMI
- #cmakedefine ENABLE_PLUGIN_NFACCT
- #cmakedefine ENABLE_PLUGIN_XENSTAT
- #cmakedefine ENABLE_PLUGIN_PERF
- #cmakedefine ENABLE_PLUGIN_SLABINFO
- #cmakedefine ENABLE_PLUGIN_CUPS
- #cmakedefine ENABLE_PLUGIN_CGROUP_NETWORK
- #cmakedefine ENABLE_PLUGIN_EBPF
- // enabled sentry
- #cmakedefine ENABLE_SENTRY
- #cmakedefine NETDATA_SENTRY_ENVIRONMENT "@NETDATA_SENTRY_ENVIRONMENT@"
- #cmakedefine NETDATA_SENTRY_DIST "@NETDATA_SENTRY_DIST@"
- #cmakedefine NETDATA_SENTRY_DSN "@NETDATA_SENTRY_DSN@"
- // enabled bundling
- #cmakedefine ENABLE_BUNDLED_JSONC
- #cmakedefine ENABLE_BUNDLED_YAML
- #cmakedefine ENABLE_BUNDLED_PROTOBUF
- #cmakedefine ENABLE_MIMALLOC
- // directory paths
- #cmakedefine CACHE_DIR "@CACHE_DIR@"
- #cmakedefine CONFIG_DIR "@CONFIG_DIR@"
- #cmakedefine LIBCONFIG_DIR "@LIBCONFIG_DIR@"
- #cmakedefine LOG_DIR "@LOG_DIR@"
- #cmakedefine PLUGINS_DIR "@PLUGINS_DIR@"
- #cmakedefine WEB_DIR "@WEB_DIR@"
- #cmakedefine VARLIB_DIR "@VARLIB_DIR@"
- // config command, user and version
- #cmakedefine CONFIGURE_COMMAND "@CONFIGURE_COMMAND@"
- #cmakedefine NETDATA_USER "@NETDATA_USER@"
- #define NETDATA_VERSION_MAJOR "@NETDATA_VERSION_MAJOR@"
- #define NETDATA_VERSION_MINOR "@NETDATA_VERSION_MINOR@"
- #define NETDATA_VERSION_PATCH "@NETDATA_VERSION_PATCH@"
- #define NETDATA_VERSION_TWEAK "@NETDATA_VERSION_TWEAK@"
- #define NETDATA_VERSION_DESCR "@NETDATA_VERSION_DESCR@"
- #define NETDATA_VERSION "@NETDATA_VERSION_STRING@"
- #define ENABLE_JSONC 1
- #cmakedefine HAVE_LIBYAML
- #cmakedefine HAVE_LIBMNL
- #cmakedefine HAVE_WEL
- #cmakedefine HAVE_ETW
- #cmakedefine RUN_UNDER_CLION
- // /* Enable GNU extensions on systems that have them. */
- // #ifndef _GNU_SOURCE
- // # define _GNU_SOURCE 1
- // #endif
- // #cmakedefine HAVE_CRYPTO
- // #cmakedefine ENABLE_PROMETHEUS_REMOTE_WRITE
- // /* NSA spy stuff */
- // #cmakedefine01 HAVE_X509_VERIFY_PARAM_set1_host
- #define HAVE_CRYPTO
- #define HAVE_X509_VERIFY_PARAM_set1_host 1
- /* Enable GNU extensions on systems that have them. */
- #ifndef _GNU_SOURCE
- #define _GNU_SOURCE 1
- #endif
|