From 1d1f44ca64c671e5e8853279ffb70260ac22a5ba Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Tue, 7 Jun 2011 10:32:47 +0800 Subject: [PATCH] Update config.h.win32.in -Make contents more like the current config.h(.in) -vsnprintf is included in VS 2008+ --- config.h.win32.in | 66 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 46 insertions(+), 20 deletions(-) diff --git a/config.h.win32.in b/config.h.win32.in index 65465008f..7c5eb4580 100644 --- a/config.h.win32.in +++ b/config.h.win32.in @@ -187,6 +187,9 @@ /* define for working do while(0) macros */ #define HAVE_DOWHILE_MACROS 1 +/* Define to 1 if using dtrace probes. */ +/* #undef HAVE_DTRACE */ + /* Define to 1 if you have the `endmntent' function. */ /* #undef HAVE_ENDMNTENT */ @@ -223,6 +226,9 @@ /* we have the futex(2) system call */ /* #undef HAVE_FUTEX */ +/* Whether you have gcov */ +/* #undef HAVE_GCOV */ + /* Define to 1 if you have the `getcwd' function. */ #define HAVE_GETCWD 1 @@ -308,6 +314,9 @@ /* Define to 1 if you have the `link' function. */ /* #undef HAVE_LINK */ +/* Define to 1 if you have the header file. */ +/* #undef HAVE_LINUX_MAGIC_H */ + /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 @@ -354,9 +363,6 @@ /* Have a monotonic clock */ /* #undef HAVE_MONOTONIC_CLOCK */ -/* Define to 1 if you have the `nanosleep' function. */ -/* #undef HAVE_NANOSLEEP */ - /* Define to 1 if you have the header file. */ /* #undef HAVE_NETDB_H */ @@ -366,9 +372,6 @@ /* Have non-POSIX function getpwuid_r */ /* #undef HAVE_NONPOSIX_GETPWUID_R */ -/* Define to 1 if you have the `nsleep' function. */ -/* #undef HAVE_NSLEEP */ - /* Define to 1 if you have the `on_exit' function. */ /* #undef HAVE_ON_EXIT */ @@ -396,6 +399,9 @@ /* Define to 1 if you have the 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 */ @@ -449,10 +455,11 @@ #ifndef _MSC_VER #define HAVE_STDINT_H 1 #else /* _MSC_VER */ -#if (_MSC_VER >= 1600) +#if (_MSC_VER >= 1600) /*VS 2010 ships with stdint.h*/ #define HAVE_STDINT_H 1 -#endif +#else /* #undef HAVE_STDINT_H */ +#endif #endif /* _MSC_VER */ /* Define if exists, doesn't clash with , and declares @@ -462,8 +469,9 @@ #else /* _MSC_VER */ #if (_MSC_VER >= 1600) #define HAVE_STDINT_H_WITH_UINTMAX 1 -#endif +#else /* #undef HAVE_STDINT_H_WITH_UINTMAX */ +#endif #endif /* _MSC_VER */ /* Define to 1 if you have the header file. */ @@ -508,45 +516,54 @@ /* Define to 1 if you have the `strsignal' function. */ /* #undef HAVE_STRSIGNAL */ -/* Define to 1 if `f_bavail' is member of `struct statfs'. */ +/* 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 member of `struct statfs'. */ +/* 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 member of `struct statvfs'. */ +/* Define to 1 if `f_basetype' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_BASETYPE */ -/* Define to 1 if `st_atimensec' is member of `struct stat'. */ +/* 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 member of `struct stat'. */ +/* 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_blksize' is member of `struct stat'. */ +/* 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 member of `struct stat'. */ +/* 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 member of `struct stat'. */ +/* 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 member of `struct stat'. */ +/* 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 member of `struct stat'. */ +/* 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 member of `struct stat'. */ +/* 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 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 header file. */ /* #undef HAVE_SYS_INOTIFY_H */ +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_MKDEV_H */ + /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MNTCTL_H */ @@ -661,6 +678,9 @@ #define vsnprintf _vsnprintf #endif #else /* _MSC_VER */ +#if (_MSC_VER >= 1500) +#define HAVE_VSNPRINTF 1 +#endif /* VS 2008+ has vsnprintf */ /* #undef HAVE_VSNPRINTF */ #endif /* _MSC_VER */ @@ -726,6 +746,9 @@ /* 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@" @@ -817,6 +840,9 @@ /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ +/* Make all glibc extensions visible */ +/* #undef _GNU_SOURCE */ + /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */