aboutsummaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-04-09 17:46:01 +0000
committerYang Tse <yangsita@gmail.com>2007-04-09 17:46:01 +0000
commitbe5ade5c7a722e04554b6d9751947350538e68fe (patch)
tree310558858c65f13a248f10e89d9ec76612239651 /lib/config-win32.h
parent0e05a6329a885a513aefa6c3e698f4cb1f08eb73 (diff)
VC8+ (VS2005+) has C99 variadic macro support
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r--lib/config-win32.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 021576068..7520d2973 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -341,6 +341,11 @@
/* 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 */
/* ---------------------------------------------------------------- */