mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
40be86bb0e
res_query() uses global state in the form of the struct __res_state which contains the contents of resolv.conf (and other things). On Linux, this state seems to be thread-local, so there is no problem. On OS X, however, it is not, and hence multiple res_query() calls from parallel threads will compete and return bogus results. The fix for this is to use res_nquery(), introduced in BIND 8.2, which takes an explicit state argument. This allows us to manually store the state thread-locally. If res_nquery() isn’t available, we fall back to res_query(). It should be available on OS X though. As a data point, it’s available on Fedora 27. There’s a slight complication in the fact that OS X requires the state to be freed using res_ndestroy() rather than res_nclose(). Linux uses res_nclose(). (See, for example, the NetBSD man page: https://www.unix.com/man-page/netbsd/3/res_ninit/. The Linux one is incomplete and not so useful: http://man7.org/linux/man-pages/man3/resolver.3.html.) The new code will call res_ninit() once per res_nquery() task. This is not optimal, but no worse than before — since res_query() was being called in a worker thread, on Linux, it would implicitly initialise the thread-local struct __res_state when it was called. We’ve essentially just made that explicit. In practical terms, this means a stat("/etc/resolv.conf") call per res_nquery() task. In future, we could improve this by using an explicit thread pool with some manually-created worker threads, each of which initialises a struct __res_state on spawning, and only updates it on receiving the #GResolver::reload signal. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=792050
870 lines
24 KiB
Plaintext
870 lines
24 KiB
Plaintext
/* config.h.win32.in Merged from two versions generated by configure for gcc and MSVC. */
|
|
/* config.h. Generated by configure. */
|
|
/* config.h.in. Generated from configure.ac by autoheader. */
|
|
|
|
/* Define if building universal (internal helper macro) */
|
|
/* #undef AC_APPLE_UNIVERSAL_BUILD */
|
|
|
|
/* The normal alignment of `guint32', in bytes. */
|
|
#define ALIGNOF_GUINT32 4
|
|
|
|
/* The normal alignment of `guint64', in bytes. */
|
|
#define ALIGNOF_GUINT64 8
|
|
|
|
/* The normal alignment of `unsigned long', in bytes. */
|
|
#define ALIGNOF_UNSIGNED_LONG 4
|
|
|
|
/* poll doesn't work on devices */
|
|
#define BROKEN_POLL 1
|
|
|
|
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
|
systems. This function is required for `alloca.c' support on those systems.
|
|
*/
|
|
/* #undef CRAY_STACKSEG_END */
|
|
|
|
/* Define to 1 if using `alloca.c'. */
|
|
/* #undef C_ALLOCA */
|
|
|
|
/* Whether to disable memory pools */
|
|
/* #undef DISABLE_MEM_POOLS */
|
|
|
|
/* Whether to enable GC friendliness by default */
|
|
/* #undef ENABLE_GC_FRIENDLY_DEFAULT */
|
|
|
|
/* always defined to indicate that i18n is enabled */
|
|
#define ENABLE_NLS 1
|
|
|
|
/* Define the gettext package to be used */
|
|
#define GETTEXT_PACKAGE "@GETTEXT_PACKAGE@"
|
|
|
|
/* Define to the GLIB binary age */
|
|
#define GLIB_BINARY_AGE @GLIB_BINARY_AGE@
|
|
|
|
/* Define to the GLIB interface age */
|
|
#define GLIB_INTERFACE_AGE @GLIB_INTERFACE_AGE@
|
|
|
|
/* Define the location where the catalogs will be installed */
|
|
#define GLIB_LOCALE_DIR "NONE/share/locale"
|
|
|
|
/* Define to the GLIB major version */
|
|
#define GLIB_MAJOR_VERSION @GLIB_MAJOR_VERSION@
|
|
|
|
/* Define to the GLIB micro version */
|
|
#define GLIB_MICRO_VERSION @GLIB_MICRO_VERSION@
|
|
|
|
/* Define to the GLIB minor version */
|
|
#define GLIB_MINOR_VERSION @GLIB_MINOR_VERSION@
|
|
|
|
/* A 'va_copy' style function */
|
|
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
|
# define G_VA_COPY va_copy
|
|
#else /* _MSC_VER && _MSC_VER < 1800 */
|
|
/* #undef G_VA_COPY */
|
|
#endif
|
|
|
|
/* 'va_lists' cannot be copies as values */
|
|
/* #undef G_VA_COPY_AS_ARRAY */
|
|
|
|
/* Define to 1 if you have `alloca', as a function or macro. */
|
|
/* #undef HAVE_ALLOCA */
|
|
|
|
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
|
*/
|
|
/* #undef HAVE_ALLOCA_H */
|
|
|
|
/* Define to 1 if you have the <attr/xattr.h> header file. */
|
|
/* #undef HAVE_ATTR_XATTR_H */
|
|
|
|
/* Define to 1 if you have the `bind_textdomain_codeset' function. */
|
|
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
|
|
|
|
/* Define if you have a version of the snprintf function with semantics as
|
|
specified by the ISO C99 standard. */
|
|
#undef HAVE_C99_SNPRINTF
|
|
|
|
/* Define if you have a version of the vsnprintf function with semantics as
|
|
specified by the ISO C99 standard. */
|
|
#undef HAVE_C99_VSNPRINTF
|
|
|
|
/* define to 1 if Carbon is available */
|
|
/* #undef HAVE_CARBON */
|
|
|
|
/* Define to 1 if you have the `clock_gettime' function. */
|
|
/* #undef HAVE_CLOCK_GETTIME */
|
|
|
|
/* define to 1 if Cocoa is available */
|
|
/* #undef HAVE_COCOA */
|
|
|
|
/* Have nl_langinfo (CODESET) */
|
|
/* #undef HAVE_CODESET */
|
|
|
|
/* Define to 1 if you have the <crt_externs.h> header file. */
|
|
/* #undef HAVE_CRT_EXTERNS_H */
|
|
|
|
/* Define if dbus-1 is available */
|
|
/* #undef HAVE_DBUS1 */
|
|
|
|
/* Define to 1 if you have the `dcgettext' function. */
|
|
#define HAVE_DCGETTEXT 1
|
|
|
|
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
|
|
*/
|
|
#ifndef _MSC_VER
|
|
# define HAVE_DIRENT_H 1
|
|
#else
|
|
/* # undef HAVE_DIRENT_H */
|
|
#endif
|
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
/* #undef HAVE_DLFCN_H */
|
|
|
|
/* Define to 1 if using dtrace probes. */
|
|
/* #undef HAVE_DTRACE */
|
|
|
|
/* Define to 1 if you have the `endmntent' function. */
|
|
/* #undef HAVE_ENDMNTENT */
|
|
|
|
/* Define to 1 if you have the `endservent' function. */
|
|
/* #undef HAVE_ENDSERVENT */
|
|
|
|
/* we have the eventfd(2) system call */
|
|
/* #undef HAVE_EVENTFD */
|
|
|
|
/* Define to 1 if you have the `fallocate' function. */
|
|
/* #undef HAVE_FALLOCATE */
|
|
|
|
/* Define if we have FAM */
|
|
/* #undef HAVE_FAM */
|
|
|
|
/* Define to 1 if you have the <fam.h> header file. */
|
|
/* #undef HAVE_FAM_H */
|
|
|
|
/* Define if we have FAMNoExists in fam */
|
|
/* #undef HAVE_FAM_NO_EXISTS */
|
|
|
|
/* Define to 1 if you have the `fchmod' function. */
|
|
/* #undef HAVE_FCHMOD */
|
|
|
|
/* Define to 1 if you have the `fchown' function. */
|
|
/* #undef HAVE_FCHOWN */
|
|
|
|
/* Define to 1 if you have the `fdwalk' function. */
|
|
/* #undef HAVE_FDWALK */
|
|
|
|
/* Define to 1 if you have the <fstab.h> header file. */
|
|
/* #undef HAVE_FSTAB_H */
|
|
|
|
/* Define to 1 if you have the `fsync' function. */
|
|
/* #undef HAVE_FSYNC */
|
|
|
|
/* we have the futex(2) system call */
|
|
/* #undef HAVE_FUTEX */
|
|
|
|
/* Define to 1 if you have the `getc_unlocked' function. */
|
|
/* #undef HAVE_GETC_UNLOCKED */
|
|
|
|
/* Define to 1 if you have the `getfsstat' function. */
|
|
/* #undef HAVE_GETFSSTAT */
|
|
|
|
/* Define to 1 if you have the `getgrgid_r' function. */
|
|
/* #undef HAVE_GETGRGID_R */
|
|
|
|
/* Define to 1 if you have the `getmntent_r' function. */
|
|
/* #undef HAVE_GETMNTENT_R */
|
|
|
|
/* Define to 1 if you have the `getprotobyname_r' function. */
|
|
/* #undef HAVE_GETPROTOBYNAME_R */
|
|
|
|
/* Define to 1 if you have the `getpwuid_r' function. */
|
|
/* #undef HAVE_GETPWUID_R */
|
|
|
|
/* Define to 1 if you have the `getresuid' function. */
|
|
/* #undef HAVE_GETRESUID */
|
|
|
|
/* Define if the GNU gettext() function is already present or preinstalled. */
|
|
#define HAVE_GETTEXT 1
|
|
|
|
/* Define to 1 if you have the `getvfsstat' function. */
|
|
/* #undef HAVE_GETVFSSTAT */
|
|
|
|
/* Define to 1 if you have the `gmtime_r' function. */
|
|
/* #undef HAVE_GMTIME_R */
|
|
|
|
/* define to use system printf */
|
|
/* #undef HAVE_GOOD_PRINTF */
|
|
|
|
/* Define to 1 if you have the `hasmntopt' function. */
|
|
/* #undef HAVE_HASMNTOPT */
|
|
|
|
/* Define to 1 if you have the `if_indextoname' function. */
|
|
#define HAVE_IF_INDEXTONAME 1
|
|
|
|
/* Define to 1 if you have the `if_nametoindex' function. */
|
|
#define HAVE_IF_NAMETOINDEX 1
|
|
|
|
/* Define to 1 if you have the `inotify_init1' function. */
|
|
/* #undef HAVE_INOTIFY_INIT1 */
|
|
|
|
/* define to support printing 64-bit integers with format I64 */
|
|
/* #undef HAVE_INT64_AND_I64 */
|
|
|
|
/* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
|
|
#if !defined (_MSC_VER) || (_MSC_VER >= 1600)
|
|
# define HAVE_INTMAX_T 1
|
|
#endif
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
|
# define HAVE_INTTYPES_H 1
|
|
#endif
|
|
|
|
/* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
|
|
declares uintmax_t. */
|
|
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
|
# define HAVE_INTTYPES_H_WITH_UINTMAX 1
|
|
#endif
|
|
|
|
/* Define if we have struct ip_mreqn */
|
|
/* #undef HAVE_IP_MREQN */
|
|
|
|
/* Define to 1 if you have the `issetugid' function. */
|
|
/* #undef HAVE_ISSETUGID */
|
|
|
|
/* Define to 1 if you have the `kevent' function. */
|
|
/* #undef HAVE_KEVENT */
|
|
|
|
/* Define to 1 if you have the `kqueue' function. */
|
|
/* #undef HAVE_KQUEUE */
|
|
|
|
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
|
/* #undef HAVE_LANGINFO_CODESET */
|
|
|
|
/* Have nl_langinfo (_NL_CTYPE_OUTDIGITn_MB) */
|
|
/* #undef HAVE_LANGINFO_OUTDIGIT */
|
|
|
|
/* Have nl_langinfo (PM_STR) */
|
|
/* #undef HAVE_LANGINFO_TIME */
|
|
|
|
/* Define to 1 if you have the `lchmod' function. */
|
|
/* #undef HAVE_LCHMOD */
|
|
|
|
/* Define to 1 if you have the `lchown' function. */
|
|
/* #undef HAVE_LCHOWN */
|
|
|
|
/* Define if your <locale.h> file defines LC_MESSAGES. */
|
|
/* #undef HAVE_LC_MESSAGES */
|
|
|
|
/* Define if you have the __libc_enable_secure variable (GNU libc, eglibc) */
|
|
/* #undef HAVE_LIBC_ENABLE_SECURE */
|
|
|
|
/* Define if libelf is available */
|
|
/* #undef HAVE_LIBELF */
|
|
|
|
/* Define to 1 if you have the <linux/magic.h> header file. */
|
|
/* #undef HAVE_LINUX_MAGIC_H */
|
|
|
|
/* Define to 1 if you have the <locale.h> header file. */
|
|
#define HAVE_LOCALE_H 1
|
|
|
|
/* Define to 1 if you have the `localtime_r' function. */
|
|
/* #undef HAVE_LOCALTIME_R */
|
|
|
|
/* Define if you have the 'long double' type. */
|
|
#define HAVE_LONG_DOUBLE 1
|
|
|
|
/* Define if you have the 'long long' type. */
|
|
#define HAVE_LONG_LONG 1
|
|
|
|
/* define if system printf can print long long */
|
|
/* #undef HAVE_LONG_LONG_FORMAT */
|
|
|
|
/* Define to 1 if you have the `lstat' function. */
|
|
/* #undef HAVE_LSTAT */
|
|
|
|
/* Define to 1 if you have the <mach/mach_time.h> header file. */
|
|
/* #undef HAVE_MACH_MACH_TIME_H */
|
|
|
|
/* Define to 1 if you have the <malloc.h> header file. */
|
|
#define HAVE_MALLOC_H 1
|
|
|
|
/* Define to 1 if you have the `mbrtowc' function. */
|
|
#define HAVE_MBRTOWC 1
|
|
|
|
/* Define to 1 if you have the `memalign' function. */
|
|
/* #undef HAVE_MEMALIGN */
|
|
|
|
/* Define to 1 if you have the `memmem' function. */
|
|
/* #undef HAVE_MEMMEM */
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
#define HAVE_MEMORY_H 1
|
|
|
|
/* Define to 1 if you have the `mmap' function. */
|
|
/* #undef HAVE_MMAP */
|
|
|
|
/* Define to 1 if you have the <mntent.h> header file. */
|
|
/* #undef HAVE_MNTENT_H */
|
|
|
|
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
|
/* #undef HAVE_NDIR_H */
|
|
|
|
/* We have AF_NETLINK sockets */
|
|
/* #undef HAVE_NETLINK */
|
|
|
|
/* Define to 1 if you have the `newlocale' function. */
|
|
/* #undef HAVE_NEWLOCALE */
|
|
|
|
/* open option O_DIRECTORY */
|
|
/* #undef HAVE_OPEN_O_DIRECTORY */
|
|
|
|
/* Define to 1 if you have the `pipe2' function. */
|
|
/* #undef HAVE_PIPE2 */
|
|
|
|
/* Define to 1 if you have the `poll' function. */
|
|
/* #undef HAVE_POLL */
|
|
|
|
/* Define to 1 if you have the `posix_memalign' function. */
|
|
/* #undef HAVE_POSIX_MEMALIGN */
|
|
|
|
/* Define to 1 if you have the `prlimit' function. */
|
|
/* #undef HAVE_PRLIMIT */
|
|
|
|
/* Have function pthread_attr_setstacksize */
|
|
/* #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE */
|
|
|
|
/* Have function pthread_cond_timedwait_relative_np */
|
|
/* #undef HAVE_PTHREAD_COND_TIMEDWAIT_RELATIVE_NP */
|
|
|
|
/* Have function pthread_condattr_setclock */
|
|
/* #undef HAVE_PTHREAD_CONDATTR_SETCLOCK */
|
|
|
|
/* Have function pthread_setname_np without TID as argument */
|
|
/* #undef HAVE_PTHREAD_SETNAME_NP_WITHOUT_TID */
|
|
|
|
/* Have function pthread_setname_np with TID as argument */
|
|
/* #undef HAVE_PTHREAD_SETNAME_NP_WITH_TID */
|
|
|
|
/* Define to 1 if the system has the type `ptrdiff_t'. */
|
|
#define HAVE_PTRDIFF_T 1
|
|
|
|
/* Define to 1 if you have the `readlink' function. */
|
|
/* #undef HAVE_READLINK */
|
|
|
|
/* Define to 1 if you have the `recvmmsg' function. */
|
|
/* #undef HAVE_RECVMMSG */
|
|
|
|
/* Define to 1 if you have the 'res_init' function. */
|
|
/* #undef HAVE_RES_INIT */
|
|
|
|
/* Define to 1 if you have the 'res_nclose' function. */
|
|
/* #undef HAVE_RES_NCLOSE */
|
|
|
|
/* Define to 1 if you have the 'res_ndestroy' function. */
|
|
/* #undef HAVE_RES_NDESTROY */
|
|
|
|
/* Define to 1 if you have the 'res_ninit' function. */
|
|
/* #undef HAVE_RES_NINIT */
|
|
|
|
/* Define to 1 if you have the 'res_nquery' function. */
|
|
/* #undef HAVE_RES_NQUERY */
|
|
|
|
/* Define to 1 if you have the <sched.h> header file. */
|
|
/* #undef HAVE_SCHED_H */
|
|
|
|
/* Define to 1 if libselinux is available */
|
|
/* #undef HAVE_SELINUX */
|
|
|
|
/* Define to 1 if you have the <selinux/selinux.h> header file. */
|
|
/* #undef HAVE_SELINUX_SELINUX_H */
|
|
|
|
/* Define to 1 if you have the `sendmmsg' function. */
|
|
/* #undef HAVE_SENDMMSG */
|
|
|
|
/* Define to 1 if you have the `setenv' function. */
|
|
/* #undef HAVE_SETENV */
|
|
|
|
/* Define to 1 if you have the `setmntent' function. */
|
|
/* #undef HAVE_SETMNTENT */
|
|
|
|
/* Define if you have the 'sig_atomic_t' type. */
|
|
#define HAVE_SIG_ATOMIC_T 1
|
|
|
|
/* Define to 1 if you have the `snprintf' function. */
|
|
#define HAVE_SNPRINTF 1
|
|
#if defined (_MSC_VER) && (_MSC_VER < 1900)
|
|
# define snprintf _snprintf
|
|
#endif
|
|
|
|
/* Define to 1 if you have the `splice' function. */
|
|
/* #undef HAVE_SPLICE */
|
|
|
|
/* Define to 1 if you have the `statfs' function. */
|
|
/* #undef HAVE_STATFS */
|
|
|
|
/* Define to 1 if you have the `statvfs' function. */
|
|
/* #undef HAVE_STATVFS */
|
|
|
|
/* Define to 1 if you have the <stddef.h> header file. */
|
|
#define HAVE_STDDEF_H 1
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
#if !defined (_MSC_VER) || (_MSC_VER >= 1600)
|
|
# define HAVE_STDINT_H 1
|
|
#endif
|
|
|
|
/* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
|
|
uintmax_t. */
|
|
#if !defined (_MSC_VER) || (_MSC_VER >= 1600)
|
|
# define HAVE_STDINT_H_WITH_UINTMAX 1
|
|
#endif
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
#define HAVE_STDLIB_H 1
|
|
|
|
/* Define to 1 if you have the `stpcpy' function. */
|
|
/* #undef HAVE_STPCPY */
|
|
|
|
/* Define to 1 if you have the `strcasecmp' function. */
|
|
#define HAVE_STRCASECMP 1
|
|
#ifdef _MSC_VER
|
|
# define strcasecmp _stricmp
|
|
#endif
|
|
|
|
/* Define to 1 if you have the `strerror_r' function. */
|
|
/* #undef HAVE_STRERROR_R */
|
|
|
|
/* Define if strerror_r returns char * */
|
|
/* #undef STRERROR_R_CHAR_P */
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
#ifndef _MSC_VER
|
|
# define HAVE_STRINGS_H 1
|
|
#endif
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
#define HAVE_STRING_H 1
|
|
|
|
/* Have functions strlcpy and strlcat */
|
|
/* #undef HAVE_STRLCPY */
|
|
|
|
/* Define to 1 if you have the `strncasecmp' function. */
|
|
#define HAVE_STRNCASECMP 1
|
|
#ifdef _MSC_VER
|
|
# define strncasecmp _strnicmp
|
|
#endif
|
|
|
|
/* Define to 1 if you have the `strnlen' function. */
|
|
#define HAVE_STRNLEN 1
|
|
|
|
/* Define to 1 if you have the `strsignal' function. */
|
|
/* #undef HAVE_STRSIGNAL */
|
|
|
|
/* Define to 1 if you have the `strtod_l' function. */
|
|
/* #undef HAVE_STRTOD_L */
|
|
|
|
/* Define to 1 if you have the `strtoll_l' function. */
|
|
/* #undef HAVE_STRTOLL_L */
|
|
|
|
/* Define to 1 if you have the `strtoull_l' function. */
|
|
/* #undef HAVE_STRTOULL_L */
|
|
|
|
/* Define to 1 if `d_type' is a member of `struct dirent'. */
|
|
/* #undef HAVE_STRUCT_DIRENT_D_TYPE */
|
|
|
|
/* Define to 1 if `f_bavail' is a member of `struct statfs'. */
|
|
/* #undef HAVE_STRUCT_STATFS_F_BAVAIL */
|
|
|
|
/* Define to 1 if `f_fstypename' is a member of `struct statfs'. */
|
|
/* #undef HAVE_STRUCT_STATFS_F_FSTYPENAME */
|
|
|
|
/* Define to 1 if `f_basetype' is a member of `struct statvfs'. */
|
|
/* #undef HAVE_STRUCT_STATVFS_F_BASETYPE */
|
|
|
|
/* Define to 1 if `f_fstypename' is a member of `struct statvfs'. */
|
|
/* #undef HAVE_STRUCT_STATVFS_F_FSTYPENAME */
|
|
|
|
/* Define to 1 if `st_atimensec' is a member of `struct stat'. */
|
|
/* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */
|
|
|
|
/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */
|
|
/* #undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC */
|
|
|
|
/* Define to 1 if `st_birthtim' is a member of `struct stat'. */
|
|
/* #undef HAVE_STRUCT_STAT_ST_BIRTHTIM */
|
|
|
|
/* Define to 1 if `st_birthtime' is a member of `struct stat'. */
|
|
/* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */
|
|
|
|
/* Define to 1 if `st_birthtimensec' is a member of `struct stat'. */
|
|
/* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC */
|
|
|
|
/* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */
|
|
/* #undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC */
|
|
|
|
/* Define to 1 if `st_blksize' is a member of `struct stat'. */
|
|
/* #undef HAVE_STRUCT_STAT_ST_BLKSIZE */
|
|
|
|
/* Define to 1 if `st_blocks' is a member of `struct stat'. */
|
|
/* #undef HAVE_STRUCT_STAT_ST_BLOCKS */
|
|
|
|
/* Define to 1 if `st_ctimensec' is a member of `struct stat'. */
|
|
/* #undef HAVE_STRUCT_STAT_ST_CTIMENSEC */
|
|
|
|
/* Define to 1 if `st_ctim.tv_nsec' is a member of `struct stat'. */
|
|
/* #undef HAVE_STRUCT_STAT_ST_CTIM_TV_NSEC */
|
|
|
|
/* Define to 1 if `st_mtimensec' is a member of `struct stat'. */
|
|
/* #undef HAVE_STRUCT_STAT_ST_MTIMENSEC */
|
|
|
|
/* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */
|
|
/* #undef HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC */
|
|
|
|
/* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
|
|
/* #undef HAVE_STRUCT_TM_TM_GMTOFF */
|
|
|
|
/* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */
|
|
/* #undef HAVE_STRUCT_TM___TM_GMTOFF */
|
|
|
|
/* Define to 1 if you have the `symlink' function. */
|
|
/* #undef HAVE_SYMLINK */
|
|
|
|
/* Define to 1 if you have the `sysctlbyname' function. */
|
|
/* #undef HAVE_SYSCTLBYNAME */
|
|
|
|
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
|
|
*/
|
|
/* #undef HAVE_SYS_DIR_H */
|
|
|
|
/* Define to 1 if you have the <sys/event.h> header file. */
|
|
/* #undef HAVE_SYS_EVENT_H */
|
|
|
|
/* Define to 1 if you have the <sys/filio.h> header file. */
|
|
/* #undef HAVE_SYS_FILIO_H */
|
|
|
|
/* Define to 1 if you have the <sys/inotify.h> header file. */
|
|
/* #undef HAVE_SYS_INOTIFY_H */
|
|
|
|
/* Define to 1 if you have the <sys/mkdev.h> header file. */
|
|
/* #undef HAVE_SYS_MKDEV_H */
|
|
|
|
/* Define to 1 if you have the <sys/mntctl.h> header file. */
|
|
/* #undef HAVE_SYS_MNTCTL_H */
|
|
|
|
/* Define to 1 if you have the <sys/mnttab.h> header file. */
|
|
/* #undef HAVE_SYS_MNTTAB_H */
|
|
|
|
/* Define to 1 if you have the <sys/mount.h> header file. */
|
|
/* #undef HAVE_SYS_MOUNT_H */
|
|
|
|
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
|
|
*/
|
|
/* #undef HAVE_SYS_NDIR_H */
|
|
|
|
/* Define to 1 if you have the <sys/param.h> header file. */
|
|
#ifndef _MSC_VER
|
|
# define HAVE_SYS_PARAM_H 1
|
|
#endif
|
|
|
|
/* Define to 1 if you have the <sys/poll.h> header file. */
|
|
/* #undef HAVE_SYS_POLL_H */
|
|
|
|
/* Define to 1 if you have the <sys/resource.h> header file. */
|
|
/* #undef HAVE_SYS_RESOURCE_H */
|
|
|
|
/* found fd_set in sys/select.h */
|
|
/* #undef HAVE_SYS_SELECT_H */
|
|
|
|
/* Define to 1 if you have the <sys/statfs.h> header file. */
|
|
/* #undef HAVE_SYS_STATFS_H */
|
|
|
|
/* Define to 1 if you have the <sys/statvfs.h> header file. */
|
|
/* #undef HAVE_SYS_STATVFS_H */
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#define HAVE_SYS_STAT_H 1
|
|
|
|
/* Define to 1 if you have the <sys/sysctl.h> header file. */
|
|
/* #undef HAVE_SYS_SYSCTL_H */
|
|
|
|
/* Define to 1 if you have the <sys/times.h> header file. */
|
|
/* #undef HAVE_SYS_TIMES_H */
|
|
|
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
|
#ifndef _MSC_VER
|
|
# define HAVE_SYS_TIME_H 1
|
|
#endif
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#define HAVE_SYS_TYPES_H 1
|
|
|
|
/* Define to 1 if you have the <sys/uio.h> header file. */
|
|
/* #undef HAVE_SYS_UIO_H */
|
|
|
|
/* Define to 1 if you have the <sys/vfstab.h> header file. */
|
|
/* #undef HAVE_SYS_VFSTAB_H */
|
|
|
|
/* Define to 1 if you have the <sys/vfs.h> header file. */
|
|
/* #undef HAVE_SYS_VFS_H */
|
|
|
|
/* Define to 1 if you have the <sys/vmount.h> header file. */
|
|
/* #undef HAVE_SYS_VMOUNT_H */
|
|
|
|
/* Define to 1 if you have the <sys/wait.h> header file. */
|
|
/* #undef HAVE_SYS_WAIT_H */
|
|
|
|
/* Define to 1 if you have the <sys/xattr.h> header file. */
|
|
/* #undef HAVE_SYS_XATTR_H */
|
|
|
|
/* Define to 1 if you have the `timegm' function. */
|
|
/* #undef HAVE_TIMEGM */
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#ifndef _MSC_VER
|
|
# define HAVE_UNISTD_H 1
|
|
#endif
|
|
|
|
/* Define if your printf function family supports positional parameters as
|
|
specified by Unix98. */
|
|
/* #undef HAVE_UNIX98_PRINTF */
|
|
|
|
/* Define to 1 if you have the `unsetenv' function. */
|
|
/* #undef HAVE_UNSETENV */
|
|
|
|
/* Define to 1 if you have the `uselocale' function. */
|
|
/* #undef HAVE_USELOCALE */
|
|
|
|
/* Define to 1 if you have the `utimes' function. */
|
|
/* #undef HAVE_UTIMES */
|
|
|
|
/* Define to 1 if you have the `valloc' function. */
|
|
/* #undef HAVE_VALLOC */
|
|
|
|
/* Define to 1 if you have the <values.h> header file. */
|
|
#ifdef _MSC_VER
|
|
# define HAVE_VALUES_H 1
|
|
#endif
|
|
|
|
/* Define to 1 if you have the `vasprintf' function. */
|
|
#define HAVE_VASPRINTF 1
|
|
|
|
/* Define to 1 if you have the `vsnprintf' function. */
|
|
#define HAVE_VSNPRINTF 1
|
|
|
|
/* Define if you have the 'wchar_t' type. */
|
|
#define HAVE_WCHAR_T 1
|
|
|
|
/* Define to 1 if you have the `wcslen' function. */
|
|
#define HAVE_WCSLEN 1
|
|
|
|
/* Define if you have the 'wint_t' type. */
|
|
#define HAVE_WINT_T 1
|
|
|
|
/* Have a working bcopy */
|
|
/* #undef HAVE_WORKING_BCOPY */
|
|
|
|
/* Define to 1 if xattr is available */
|
|
/* #undef HAVE_XATTR */
|
|
|
|
/* Define to 1 if xattr API uses XATTR_NOFOLLOW */
|
|
/* #undef HAVE_XATTR_NOFOLLOW */
|
|
|
|
/* Define to 1 if you have the <xlocale.h> header file. */
|
|
/* #undef HAVE_XLOCALE_H */
|
|
|
|
/* Define to 1 if you have the `_NSGetEnviron' function. */
|
|
/* #undef HAVE__NSGETENVIRON */
|
|
|
|
/* Define to the sub-directory where libtool stores uninstalled libraries. */
|
|
#define LT_OBJDIR ""
|
|
|
|
/* Do we cache iconv descriptors */
|
|
/* #undef NEED_ICONV_CACHE */
|
|
|
|
/* didn't find fd_set */
|
|
/* #undef NO_FD_SET */
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
#define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=glib"
|
|
|
|
/* Define to the full name of this package. */
|
|
#define PACKAGE_NAME "glib"
|
|
|
|
/* Define to the full name and version of this package. */
|
|
#define PACKAGE_STRING "glib @GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@.@GLIB_MICRO_VERSION@"
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
#define PACKAGE_TARNAME "glib"
|
|
|
|
/* Define to the home page for this package. */
|
|
#define PACKAGE_URL ""
|
|
|
|
/* Define to the version of this package. */
|
|
#define PACKAGE_VERSION "@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@.@GLIB_MICRO_VERSION@"
|
|
|
|
/* define if posix_memalign() can allocate any size */
|
|
/* #undef POSIX_MEMALIGN_WITH_COMPLIANT_ALLOCS */
|
|
|
|
/* The size of `char', as computed by sizeof. */
|
|
#define SIZEOF_CHAR 1
|
|
|
|
/* The size of `int', as computed by sizeof. */
|
|
#define SIZEOF_INT 4
|
|
|
|
/* The size of `long', as computed by sizeof. */
|
|
#define SIZEOF_LONG 4
|
|
|
|
/* The size of `long long', as computed by sizeof. */
|
|
#define SIZEOF_LONG_LONG 8
|
|
|
|
/* The size of `short', as computed by sizeof. */
|
|
#define SIZEOF_SHORT 2
|
|
|
|
/* The size of `size_t', as computed by sizeof. */
|
|
#ifdef _WIN64
|
|
# define SIZEOF_SIZE_T 8
|
|
#else
|
|
# define SIZEOF_SIZE_T 4
|
|
#endif
|
|
|
|
/* The size of `ssize_t', as computed by sizeof. */
|
|
#ifdef _WIN64
|
|
# define SIZEOF_SSIZE_T 8
|
|
#else
|
|
# define SIZEOF_SSIZE_T 4
|
|
#endif
|
|
|
|
/* The size of `void *', as computed by sizeof. */
|
|
#ifdef _WIN64
|
|
# define SIZEOF_VOID_P 8
|
|
#else
|
|
# define SIZEOF_VOID_P 4
|
|
#endif
|
|
|
|
/* The size of `__int64', as computed by sizeof. */
|
|
#define SIZEOF___INT64 8
|
|
|
|
/* If using the C implementation of alloca, define if you know the
|
|
direction of stack growth for your system; otherwise it will be
|
|
automatically deduced at runtime.
|
|
STACK_DIRECTION > 0 => grows toward higher addresses
|
|
STACK_DIRECTION < 0 => grows toward lower addresses
|
|
STACK_DIRECTION = 0 => direction of growth unknown */
|
|
/* #undef STACK_DIRECTION */
|
|
|
|
/* Number of arguments to statfs() */
|
|
/* #undef STATFS_ARGS */
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
#define STDC_HEADERS 1
|
|
|
|
/* Use no threads */
|
|
/* #undef THREADS_NONE */
|
|
|
|
/* Use pthreads */
|
|
/* #undef THREADS_POSIX */
|
|
|
|
/* Use w32 threads */
|
|
#define THREADS_WIN32 1
|
|
|
|
/* Using GNU libiconv */
|
|
/* #undef USE_LIBICONV_GNU */
|
|
|
|
/* Using a native implementation of iconv in a separate library */
|
|
#define USE_LIBICONV_NATIVE 1
|
|
|
|
/* Define to use statfs() */
|
|
/* #undef USE_STATFS */
|
|
|
|
/* Define to use statvfs() */
|
|
/* #undef USE_STATVFS */
|
|
|
|
/* Enable extensions on AIX 3, Interix. */
|
|
#ifndef _ALL_SOURCE
|
|
/* #undef _ALL_SOURCE */
|
|
#endif
|
|
/* Enable GNU extensions on systems that have them. */
|
|
#ifndef _GNU_SOURCE
|
|
#define _GNU_SOURCE 1
|
|
#endif
|
|
/* Enable threading extensions on Solaris. */
|
|
#ifndef _POSIX_PTHREAD_SEMANTICS
|
|
/* #undef _POSIX_PTHREAD_SEMANTICS */
|
|
#endif
|
|
/* Enable extensions on HP NonStop. */
|
|
#ifndef _TANDEM_SOURCE
|
|
/* #undef _TANDEM_SOURCE */
|
|
#endif
|
|
/* Enable general extensions on Solaris. */
|
|
#ifndef __EXTENSIONS__
|
|
#define __EXTENSIONS__ 1
|
|
#endif
|
|
|
|
/* using the system-supplied PCRE library */
|
|
/* This is determined in the MSVC projects */
|
|
/* #undef USE_SYSTEM_PCRE */
|
|
|
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
|
#if defined AC_APPLE_UNIVERSAL_BUILD
|
|
# if defined __BIG_ENDIAN__
|
|
# define WORDS_BIGENDIAN 1
|
|
# endif
|
|
#else
|
|
# ifndef WORDS_BIGENDIAN
|
|
# undef WORDS_BIGENDIAN
|
|
# endif
|
|
#endif
|
|
|
|
/* Enable large inode numbers on Mac OS X 10.5. */
|
|
#ifndef _DARWIN_USE_64_BIT_INODE
|
|
# define _DARWIN_USE_64_BIT_INODE 1
|
|
#endif
|
|
|
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
|
/* #undef _FILE_OFFSET_BITS */
|
|
|
|
/* defines how to decorate public symbols while building */
|
|
#ifdef _MSC_VER
|
|
# define _GLIB_EXTERN __declspec (dllexport) extern
|
|
#else
|
|
# define _GLIB_EXTERN __attribute__((visibility("default"))) __declspec (dllexport) extern
|
|
#endif
|
|
|
|
/* Define for large files, on AIX-style hosts. */
|
|
/* #undef _LARGE_FILES */
|
|
|
|
/* Target the Windows 7 API */
|
|
#define _WIN32_WINNT 0x0601
|
|
|
|
/* Needed to get declarations for msg_control and msg_controllen on Solaris */
|
|
/* #undef _XOPEN_SOURCE */
|
|
|
|
/* Needed to get declarations for msg_control and msg_controllen on Solaris */
|
|
/* #undef _XOPEN_SOURCE_EXTENDED */
|
|
|
|
/* Needed to get declarations for msg_control and msg_controllen on Solaris */
|
|
#define __EXTENSIONS__ 1
|
|
|
|
/* compiler supports atomic operations */
|
|
/* #undef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 */
|
|
|
|
/* Define to empty if `const' does not conform to ANSI C. */
|
|
/* #undef const */
|
|
|
|
/* Define to long or long long if <inttypes.h> and <stdint.h> don't define. */
|
|
/* #undef intmax_t */
|
|
|
|
/* Define to empty if the C compiler doesn't support this keyword. */
|
|
/* #undef signed */
|
|
|
|
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
|
/* #undef size_t */
|
|
|
|
#define EXEEXT ".exe"
|
|
|
|
/* #undef MAJOR_IN_MKDEV */
|
|
/* #undef MAJOR_IN_SYSMACROS */
|
|
/* #undef HAVE_RTLD_LAZY */
|
|
/* #undef HAVE_RTLD_NOW */
|
|
/* #undef HAVE_RTLD_GLOBAL */
|