Add MSVC implementations of G_GNUC_*_IGNORE_DEPRECATIONS
[platform/upstream/glib.git] / config.h.win32.in
index 1e54ab3..85b3a01 100644 (file)
@@ -5,6 +5,15 @@
 /* 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
 
@@ -25,9 +34,6 @@
 /* always defined to indicate that i18n is enabled */
 #define ENABLE_NLS 1
 
-/* include GRegex */
-#define ENABLE_REGEX /**/
-
 /* Define the gettext package to be used */
 #define GETTEXT_PACKAGE "@GETTEXT_PACKAGE@"
 
@@ -66,9 +72,6 @@
 /* #undef G_HAVE___INLINE__ */
 #endif /* _MSC_VER or __DMC__ */
 
-/* Source file containing theread implementation */
-#define G_THREAD_SOURCE "gthread-win32.c"
-
 /* A 'va_copy' style function */
 #ifndef _MSC_VER
 #define G_VA_COPY va_copy
@@ -86,9 +89,6 @@
    */
 /* #undef HAVE_ALLOCA_H */
 
-/* Define to 1 if you have the <arpa/nameser_compat.h> header file. */
-/* #undef HAVE_ARPA_NAMESER_COMPAT_H */
-
 /* Define to 1 if you have the `atexit' function. */
 #define HAVE_ATEXIT 1
 
 /* 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 `dcgettext' function. */
 #define HAVE_DCGETTEXT 1
 
-/* Define to 1 if you have the <dirent.h> header file. */
+/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.\r
+   */
 #ifndef _MSC_VER
 #define HAVE_DIRENT_H 1
 #else
 /* Define to 1 if you have the `getpwuid' function. */
 /* #undef HAVE_GETPWUID */
 
+/* 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 `hasmntopt' function. */
 /* #undef HAVE_HASMNTOPT */
 
+/* Define to 1 if you have the `if_nametoindex' function. */
+/* This is available on Windows, but the catch is that this will require */
+/* Windows Vista/Server 2008, so disabled for now-please see */
+/* http://msdn.microsoft.com/en-us/library/windows/desktop/bb408409%28v=vs.85%29.aspx */
+/* A workaround for Windows XP is under review in Bug 668071 */
+/* #undef HAVE_IF_NAMETOINDEX */
+
 /* Define to 1 if you have the `inotify_init1' function. */
 /* #undef HAVE_INOTIFY_INIT1 */
 
 /* #undef HAVE_INTTYPES_H_WITH_UINTMAX */
 #endif /* _MSC_VER */
 
+/* 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. */\r
+/* #undef HAVE_KEVENT */\r
+\r
+/* Define to 1 if you have the `kqueue' function. */\r
+/* #undef HAVE_KQUEUE */
+
 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
 /* #undef HAVE_LANGINFO_CODESET */
 
 /* 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 <limits.h> header file. */
 #define HAVE_LIMITS_H 1
 
 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
 /* #undef HAVE_NDIR_H */
 
-/* Define to 1 if you have the <netdb.h> header file. */
-/* #undef HAVE_NETDB_H */
-
 /* We have AF_NETLINK sockets */
 /* #undef HAVE_NETLINK */
 
 /* Have function pthread_attr_setstacksize */
 /* #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE */
 
+/* Have function pthread_condattr_setclock */
+/* #undef HAVE_PTHREAD_CONDATTR_SETCLOCK */
+
 /* Define to 1 if the system has the type `ptrdiff_t'. */
 #define HAVE_PTRDIFF_T 1
 
 /* Define to 1 if you have the <pwd.h> header file. */
 /* #undef HAVE_PWD_H */
 
-/* Define to 1 if you have the 'qsort_r' function */
-/* #undef HAVE_QSORT_R */
-
 /* Define to 1 if you have the `readlink' function. */
 /* #undef HAVE_READLINK */
 
+/* Define to 1 if you have the 'res_init' function. */
+/* #undef HAVE_RES_INIT */
+
 /* Define to 1 if you have the <sched.h> header file. */
 /* #undef HAVE_SCHED_H */
 
 /* Define to 1 if you have the `setmntent' function. */
 /* #undef HAVE_SETMNTENT */
 
-/* Define to 1 if you have the `setresuid' function. */
-/* #undef HAVE_SETRESUID */
+/* Define if you have the 'sig_atomic_t' type. */
+#define HAVE_SIG_ATOMIC_T 1
 
 /* Define to 1 if you have the `snprintf' function. */
 #ifndef _MSC_VER
 /* #undef HAVE_STRLCPY */
 
 /* Define to 1 if you have the `strncasecmp' function. */
-#if !defined(_MSC_VER) && !defined(__DMC__)
+#if !defined(__DMC__)
+#if defined(_MSC_VER)
+#define strncasecmp _strnicmp
+#endif /* _MSC_VER uses _strnicmp, which is identical to strncasecmp */
 #define HAVE_STRNCASECMP 1
-#else /* _MSC_VER or __DMC__ */
+#else /* __DMC__ */
 /* #undef HAVE_STRNCASECMP */
-#endif /* _MSC_VER or __DMC__ */
-
-/* Define to 1 if you have the `strndup' function. */
-/* #undef HAVE_STRNDUP */
+#endif /* __DMC__ */
 
 /* Define to 1 if you have the `strsignal' function. */
 /* #undef HAVE_STRSIGNAL */
 /* 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 */
 
 /* Have a working bcopy */
 /* #undef HAVE_WORKING_BCOPY */
 
-/* Define to 1 if you have the <wspiapi.h> header file. */
-#ifndef _MSC_VER
-/* #undef HAVE_WSPIAPI_H */
-#else
-#define HAVE_WSPIAPI_H 1
-#endif
-
 /* Define to 1 if xattr is available */
 /* #undef HAVE_XATTR */
 
 /* whether realloc (NULL,) works */
 #define REALLOC_0_WORKS 1
 
-/* Define if you have correct malloc prototypes */
-#ifndef _MSC_VER
-#define SANE_MALLOC_PROTOS 1
-#else /* _MSC_VER */
-/* #undef SANE_MALLOC_PROTOS */
-#endif /* _MSC_VER */
-
 /* The size of `char', as computed by sizeof. */
 #define SIZEOF_CHAR 1
 
 /* 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 */
 
 /* 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 */
+#define _GLIB_EXTERN __declspec (dllexport)
+
 /* Make all glibc extensions visible */
 /* #undef _GNU_SOURCE */
 
 /* Define for large files, on AIX-style hosts. */
 /* #undef _LARGE_FILES */
 
+/* Target the Windows XP API */\r
+#define _WIN32_WINNT 0x0501
+
 /* 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 __EXTENSIONS__ */
 
+/* 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 */