diff options
Diffstat (limited to 'config-win32.h')
-rw-r--r-- | config-win32.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config-win32.h b/config-win32.h index 94ffe53..1b65ce7 100644 --- a/config-win32.h +++ b/config-win32.h @@ -160,6 +160,16 @@ #define HAVE_STRUCT_TIMEVAL 1 /* ---------------------------------------------------------------- */ +/* COMPILER SPECIFIC */ +/* ---------------------------------------------------------------- */ + +/* Define to avoid VS2005 complaining about portable C functions */ +#if defined(_MSC_VER) && (_MSC_VER >= 1400) +#define _CRT_SECURE_NO_DEPRECATE 1 +#define _CRT_NONSTDC_NO_DEPRECATE 1 +#endif + +/* ---------------------------------------------------------------- */ /* IPV6 COMPATIBILITY */ /* ---------------------------------------------------------------- */ |