Add MSVC implementations of G_GNUC_*_IGNORE_DEPRECATIONS
[platform/upstream/glib.git] / config.h.win32.in
index e1fc261..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
 
@@ -80,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 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 <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 */
 
 /* 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 */
 
 /* #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__ */
+#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 */