Update config.h.win32.in
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 19 Nov 2012 04:38:28 +0000 (12:38 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 19 Nov 2012 04:38:28 +0000 (12:38 +0800)
Make its entries correspond to the entries in config.h.in, and use
_strnicmp for strncasecmp on Visual C++.

config.h.win32.in

index 5d786dc..5550b50 100644 (file)
 /* 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 `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 */
 
 /* #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 */
    */
 /* #undef HAVE_SYS_DIR_H */
 
+/* Define to 1 if you have the <sys/event.h> header file. */\r
+/* #undef HAVE_SYS_EVENT_H */
+
 /* Define to 1 if you have the <sys/filio.h> header file. */
 /* #undef HAVE_SYS_FILIO_H */
 
 # 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 */
 
 /* 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 */