diff options
Diffstat (limited to 'src/3rdparty/libdbus/config-windows.h')
-rw-r--r-- | src/3rdparty/libdbus/config-windows.h | 270 |
1 files changed, 270 insertions, 0 deletions
diff --git a/src/3rdparty/libdbus/config-windows.h b/src/3rdparty/libdbus/config-windows.h new file mode 100644 index 00000000..0bf9b046 --- /dev/null +++ b/src/3rdparty/libdbus/config-windows.h @@ -0,0 +1,270 @@ +/* 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 "C:/Program Files (x86)/dbus/share" +#define DBUS_BINDIR "C:/Program Files (x86)/dbus/bin" +#define DBUS_PREFIX "C:/Program Files (x86)/dbus" +#define DBUS_SYSTEM_CONFIG_FILE "share/dbus-1/system.conf" +#define DBUS_SESSION_CONFIG_FILE "share/dbus-1/session.conf" +/* #undef DBUS_SESSION_SOCKET_DIR */ +#define DBUS_DAEMON_NAME "dbus-daemon" +#define DBUS_SYSTEM_BUS_DEFAULT_ADDRESS "unix:path=C:/Program Files (x86)/dbus/var/run/dbus/system_bus_socket" +#define DBUS_SESSION_BUS_CONNECT_ADDRESS "autolaunch:" +#define DBUS_MACHINE_UUID_FILE "C:/Program Files (x86)/dbus/var/lib/dbus/machine-id" +#define DBUS_DAEMONDIR "C:/Program Files (x86)/dbus/bin" +#define DBUS_RUNSTATEDIR "C:/Program Files (x86)/dbus/var/run" + +/* #undef DBUS_ENABLE_STATS */ +#define ENABLE_TRADITIONAL_ACTIVATION + +#define TEST_LISTEN "" + +// test binaries +#define DBUS_EXEEXT ".exe" + +/* 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 +#define HAVE_AFUNIX_H 1 +/* #undef HAVE_ALLOCA_H */ +/* #undef HAVE_BYTESWAP_H */ +/* #undef HAVE_CRT_EXTERNS_H */ + +/* Define to 1 if you have dirent.h */ +/* #undef HAVE_DIRENT_H */ + +/* 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 */ +#define HAVE_IO_H 1 + +/* Define to 1 if you have locale.h */ +#define HAVE_LOCALE_H 1 + +/* Define to 1 if you have poll */ +/* #undef HAVE_POLL */ + +/* 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 + +/* #undef HAVE_STDATOMIC_H */ +/* #undef HAVE_SYSLOG_H */ +/* #undef HAVE_SYS_EVENTS_H */ +/* #undef HAVE_SYS_INOTIFY_H */ +/* #undef HAVE_LINUX_MAGIC_H */ +/* #undef HAVE_SYS_PRCTL_H */ +/* #undef HAVE_SYS_RANDOM_H */ +/* #undef HAVE_SYS_RESOURCE_H */ +/* #undef HAVE_SYS_SYSCALL_H */ +/* #undef HAVE_SYS_VFS_H */ + +/* Define to 1 if you have sys/time.h */ +/* #undef HAVE_SYS_TIME_H */ + +/* Define to 1 if you have unistd.h */ +/* #undef HAVE_UNISTD_H */ + +/* Define to 1 if you have ws2tcpip.h */ +#define HAVE_WS2TCPIP_H 1 + +// symbols +/* Define to 1 if you have backtrace */ +/* #undef HAVE_BACKTRACE */ + +/* 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 */ +/* #undef HAVE_NANOSLEEP */ + +/* Define to 1 if you have getpwnam_r */ +/* #undef HAVE_GETPWNAM_R */ + +/* Define to 1 if you have socketpair */ +/* #undef HAVE_SOCKETPAIR */ + +/* Define to 1 if you have setenv */ +/* #undef HAVE_SETENV */ + +/* Define to 1 if you have unsetenv */ +/* #undef HAVE_UNSETENV */ + +/* 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 */ +/* #undef HAVE_WRITEV */ + +/* Define to 1 if you have socklen_t */ +/* #undef HAVE_SOCKLEN_T */ + +/* 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 */ +/* #undef HAVE_GETRLIMIT */ +/* #undef HAVE_PRCTL */ +/* #undef HAVE_PRLIMIT */ +#define HAVE_RAISE 1 +/* #undef HAVE_SETRLIMIT */ +/* #undef HAVE_UNIX_FD_PASSING */ +/* #undef HAVE_SYSTEMD */ + +/* Define to use epoll(4) on Linux */ +/* #undef DBUS_HAVE_LINUX_EPOLL */ + +/* Use the gcc __sync extension */ +#define DBUS_USE_SYNC 0 + +/* #undef HAVE_SETRESUID */ +/* #undef HAVE_GETRESUID */ +/* whether -export-dynamic was passed to libtool */ +/* #undef DBUS_BUILT_R_DYNAMIC */ + +/* 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 */ + +#define FD_SETSIZE 8192 + +#define DBUS_USER "Administrator" +#define DBUS_TEST_USER "guest" +/* #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 <stdio.h> +# 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 8192 +#endif + +#define HAVE_DECL_ENVIRON 0 +#define HAVE_DECL_LOG_PERROR 0 +#define HAVE_DECL_MSG_NOSIGNAL 0 +#define HAVE_DECL_SYS_PIDFD_OPEN 0 + +#endif // _DBUS_CONFIG_H |