diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-04-24 22:25:04 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-04-24 22:25:04 +0000 |
commit | a8ff0a21bf88f1cbfd6fa38683876dc95a96f1f3 (patch) | |
tree | b31577c484fd869f1da90f930cd8ace5e574564e /src/config-win32.h | |
parent | b8bc6bed97358020963a4333077a12fa7f39fa61 (diff) |
Based on feedback from Cory Nelson, I added some preprocessor magic in
*/setup.h and */config-win32.h to build fine with VS2005 on x64.
Diffstat (limited to 'src/config-win32.h')
-rw-r--r-- | src/config-win32.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config-win32.h b/src/config-win32.h index c07c349e5..e6dde29d1 100644 --- a/src/config-win32.h +++ b/src/config-win32.h @@ -37,6 +37,10 @@ /* Define if you have the setlocale() function. */ #define HAVE_SETLOCALE 1 +/* Defines set for VS2005 to _not_ decprecate a few functions we use. */ +#define _CRT_SECURE_NO_DEPRECATE +#define _CRT_NONSTDC_NO_DEPRECATE + /************************************************* * This section is for compiler specific defines.* *************************************************/ |