]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
VC8+ (VS2005+) has C99 variadic macro support
authorYang Tse <yangsita@gmail.com>
Mon, 9 Apr 2007 17:46:01 +0000 (17:46 +0000)
committerYang Tse <yangsita@gmail.com>
Mon, 9 Apr 2007 17:46:01 +0000 (17:46 +0000)
lib/config-win32.h
src/config-win32.h

index 021576068802b882562330f72df73350686d43c3..7520d2973be7a97b60f724e30a47210c855098ea 100644 (file)
 /* Windows should not have HAVE_GMTIME_R defined */
 /* #undef HAVE_GMTIME_R */
 
+/* Define if the compiler supports C99 variadic macro style. */
+#if defined(_MSC_VER) && (_MSC_VER >= 1400)
+#define HAVE_VARIADIC_MACROS_C99 1
+#endif
+
 /* ---------------------------------------------------------------- */
 /*                        LDAP LIBRARY FILES                        */
 /* ---------------------------------------------------------------- */
index 6e0380a3be2781c926bd2c2a019ebe7375b265f0..734d575a871855a7d4994da7c633162f576a3a65 100644 (file)
 /* Define this if you have struct timeval */
 #define HAVE_STRUCT_TIMEVAL 1
 
+/* ---------------------------------------------------------------- */
+/*                        COMPILER SPECIFIC                         */
+/* ---------------------------------------------------------------- */
+
+/* Undef keyword 'const' if it does not work.  */
+/* #undef const */
+
+/* Windows should not have HAVE_GMTIME_R defined */
+/* #undef HAVE_GMTIME_R */
+
+/* Define if the compiler supports C99 variadic macro style. */
+#if defined(_MSC_VER) && (_MSC_VER >= 1400)
+#define HAVE_VARIADIC_MACROS_C99 1
+#endif
+
 /* ---------------------------------------------------------------- */
 /*                       ADDITIONAL DEFINITIONS                     */
 /* ---------------------------------------------------------------- */