/* config.h. Generated by cmake from config.h.cmake */ #ifndef _DBUS_CONFIG_H #define _DBUS_CONFIG_H #define VERSION "1.15.9" /* On Windows, we expect to be using msvcrt.dll-compatible printf * (%I64u instead of %llu) unless otherwise specified. This must be * done near the beginning of config.h, before we have included any * system headers that might check the value of this macro. */ #ifndef __USE_MINGW_ANSI_STDIO # define __USE_MINGW_ANSI_STDIO 0 #endif /* #undef _FILE_OFFSET_BITS */ /* #undef _TIME_BITS */ /* #undef WORDS_BIGENDIAN */ /* Opt-in to modern APIs and thread-safety for Solaris. In the Autotools * build system we do the equivalent of this by appending to CFLAGS * in configure.ac */ #ifdef __sun # define __EXTENSIONS__ # define _POSIX_PTHREAD_SEMANTICS # define _REENTRANT # define _XOPEN_SOURCE 500 #endif #define DBUS_DATADIR "/usr/local/share" #define DBUS_BINDIR "/usr/local/bin" #define DBUS_PREFIX "/usr/local" #define DBUS_SYSTEM_CONFIG_FILE "/usr/local/share/dbus-1/system.conf" #define DBUS_SESSION_CONFIG_FILE "/usr/local/share/dbus-1/session.conf" #define DBUS_SESSION_SOCKET_DIR "/var/folders/2m/j2m3v0q55bn3k4dl_pkms4k80000gn/T/" #define DBUS_DAEMON_NAME "dbus-daemon" #define DBUS_SYSTEM_BUS_DEFAULT_ADDRESS "unix:path=/usr/local/var/run/dbus/system_bus_socket" #define DBUS_SESSION_BUS_CONNECT_ADDRESS "autolaunch:" #define DBUS_MACHINE_UUID_FILE "/usr/local/var/lib/dbus/machine-id" #define DBUS_DAEMONDIR "/usr/local/bin" #define DBUS_RUNSTATEDIR "/usr/local/var/run" /* #undef DBUS_ENABLE_STATS */ #define ENABLE_TRADITIONAL_ACTIVATION #define TEST_LISTEN "" // test binaries #define DBUS_EXEEXT "" /* Some dbus features */ /* #undef DBUS_ENABLE_ANSI */ #define DBUS_ENABLE_VERBOSE_MODE 1 /* #undef DBUS_DISABLE_ASSERT */ #ifndef DBUS_DISABLE_ASSERT # define DBUS_ENABLE_ASSERT 1 #endif /* #undef DBUS_DISABLE_CHECKS */ #ifndef DBUS_DISABLE_CHECKS # define DBUS_ENABLE_CHECKS 1 #endif /* #undef DBUS_ENABLE_EMBEDDED_TESTS */ /* #undef DBUS_ENABLE_MODULAR_TESTS */ /* #undef DBUS_USE_OUTPUT_DEBUG_STRING */ /* xmldocs */ /* doxygen */ /* #undef DBUS_GCOV_ENABLED */ /* selinux */ /* kqueue */ /* #undef HAVE_CONSOLE_OWNER_FILE */ #define DBUS_CONSOLE_OWNER_FILE "" /* #undef DBUS_BUILD_X11 */ /* For the moment, the cmake build system doesn't have an equivalent of * the autoconf build system's --disable-x11-autolaunch */ #ifdef DBUS_BUILD_X11 # define DBUS_ENABLE_X11_AUTOLAUNCH 1 #endif /* #undef DBUS_WITH_GLIB */ /* #undef GLIB_VERSION_MIN_REQUIRED */ /* #undef GLIB_VERSION_MAX_ALLOWED */ // headers /* #undef HAVE_AFUNIX_H */ #define HAVE_ALLOCA_H 1 /* #undef HAVE_BYTESWAP_H */ /* #undef HAVE_CRT_EXTERNS_H */ /* Define to 1 if you have dirent.h */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have errno.h */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have inttypes.h */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have io.h */ /* #undef HAVE_IO_H */ /* Define to 1 if you have locale.h */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have poll */ #define HAVE_POLL 1 /* Define to 1 if you have signal.h */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have stdio.h */ #define HAVE_STDIO_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_SYSLOG_H 1 /* #undef HAVE_SYS_EVENTS_H */ /* #undef HAVE_SYS_INOTIFY_H */ /* #undef HAVE_LINUX_MAGIC_H */ /* #undef HAVE_SYS_PRCTL_H */ #define HAVE_SYS_RANDOM_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SYSCALL_H 1 /* #undef HAVE_SYS_VFS_H */ /* Define to 1 if you have sys/time.h */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have unistd.h */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have ws2tcpip.h */ /* #undef HAVE_WS2TCPIP_H */ // symbols /* Define to 1 if you have backtrace */ #define HAVE_BACKTRACE 1 /* Define to 1 if you have getgrouplist */ /* #undef HAVE_GETGROUPLIST */ /* Define to 1 if you have getpeerucred */ /* #undef HAVE_GETPEERUCRED */ /* Define to 1 if you have nanosleep */ #define HAVE_NANOSLEEP 1 /* Define to 1 if you have getpwnam_r */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have socketpair */ #define HAVE_SOCKETPAIR 1 /* Define to 1 if you have setenv */ #define HAVE_SETENV 1 /* Define to 1 if you have unsetenv */ #define HAVE_UNSETENV 1 /* Define to 1 if you have clearenv */ /* #undef HAVE_CLEARENV */ /* Define to 1 if you have closefrom */ /* #undef HAVE_CLOSEFROM */ /* Define to 1 if you have close_range */ /* #undef HAVE_CLOSE_RANGE */ /* Define to 1 if you have writev */ #define HAVE_WRITEV 1 /* Define to 1 if you have socklen_t */ #define HAVE_SOCKLEN_T 1 /* Define to 1 if you have setlocale */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have localeconv */ #define HAVE_LOCALECONV 1 /* Define to 1 if you have pip2 */ /* #undef HAVE_PIPE2 */ /* #undef HAVE_ACCEPT4 */ /* #undef HAVE_FSTATFS */ /* #undef HAVE_INOTIFY_INIT1 */ /* #undef HAVE_GETRANDOM */ #define HAVE_GETRLIMIT 1 /* #undef HAVE_PRCTL */ /* #undef HAVE_PRLIMIT */ #define HAVE_RAISE 1 #define HAVE_SETRLIMIT 1 #define HAVE_UNIX_FD_PASSING 1 /* #undef HAVE_SYSTEMD */ /* Define to use epoll(4) on Linux */ /* #undef DBUS_HAVE_LINUX_EPOLL */ /* Use the gcc __sync extension */ #define DBUS_USE_SYNC 1 /* #undef HAVE_SETRESUID */ /* #undef HAVE_GETRESUID */ /* whether -export-dynamic was passed to libtool */ #define DBUS_BUILT_R_DYNAMIC 1 /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE #define _GNU_SOURCE 1 #endif // structs /* Define to 1 if you have struct cmsgred */ /* #undef HAVE_CMSGCRED */ /* #undef FD_SETSIZE */ #define DBUS_USER "messagebus" #define DBUS_TEST_USER "nobody" /* #undef DBUS_TEST_EXEC */ /* Where to put test sockets */ #define DBUS_TEST_SOCKET_DIR "" // system type defines #if defined(_WIN32) || defined(_WIN64) || defined (_WIN32_WCE) # define DBUS_WIN # ifdef _WIN32_WCE # define DBUS_WINCE # else # define DBUS_WIN32 /* Define to the minimum supported Windows version (0x0600 is Vista) */ # define _WIN32_WINNT 0x0600 # endif #else # define DBUS_UNIX #endif #if defined(_WIN32) || defined(_WIN64) // mingw mode_t # ifdef HAVE_STDIO_H # include # endif # ifndef _MSC_VER # define uid_t int # define gid_t int # else typedef int mode_t; # endif #endif // defined(_WIN32) || defined(_WIN64) #ifdef interface #undef interface #endif #ifndef SIGHUP #define SIGHUP 1 #endif #ifdef DBUS_WIN #define FD_SETSIZE #endif #define HAVE_DECL_ENVIRON 0 #define HAVE_DECL_LOG_PERROR 1 #define HAVE_DECL_MSG_NOSIGNAL 1 #define HAVE_DECL_SYS_PIDFD_OPEN 0 #endif // _DBUS_CONFIG_H