diff options
author | Yang Tse <yangsita@gmail.com> | 2007-04-09 17:46:01 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-04-09 17:46:01 +0000 |
commit | be5ade5c7a722e04554b6d9751947350538e68fe (patch) | |
tree | 310558858c65f13a248f10e89d9ec76612239651 /src | |
parent | 0e05a6329a885a513aefa6c3e698f4cb1f08eb73 (diff) |
VC8+ (VS2005+) has C99 variadic macro support
Diffstat (limited to 'src')
-rw-r--r-- | src/config-win32.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/config-win32.h b/src/config-win32.h index 6e0380a3b..734d575a8 100644 --- a/src/config-win32.h +++ b/src/config-win32.h @@ -166,6 +166,21 @@ #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 */ /* ---------------------------------------------------------------- */ |