Mercurial > hg > xemacs-beta
comparison src/config.h.in @ 4457:2fddd822ce87
#define _CRT_NONSTDC_NO_DEPRECATE on Win32
2008-05-13 Aidan Kehoe <kehoea@parhasard.net>
* config.h.in (_CRT_NONSTDC_NO_DEPRECATE):
Define this, to avoid warnings about using standard POSIX and C9X
functions on Win32; fixes part of Matthew Persico's problems of
9ea6aaa80805081832r1a3308e9wb6d2bfea7457379f@mail.gmail.com .
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Tue, 13 May 2008 20:11:51 +0200 |
parents | fd8a9a4d81d9 |
children | f863b2ee146f |
comparison
equal
deleted
inserted
replaced
4456:c785f98c6737 | 4457:2fddd822ce87 |
---|---|
873 #ifdef _MSC_VER | 873 #ifdef _MSC_VER |
874 /* Turn off tons of C4996 warnings in VC 8 about standard functions being | 874 /* Turn off tons of C4996 warnings in VC 8 about standard functions being |
875 "deprecated" in favor of Microsoft-specific "secure" ones (!) | 875 "deprecated" in favor of Microsoft-specific "secure" ones (!) |
876 This must go *before* the inclusion of any system files. */ | 876 This must go *before* the inclusion of any system files. */ |
877 #define _CRT_SECURE_NO_DEPRECATE | 877 #define _CRT_SECURE_NO_DEPRECATE |
878 #define _CRT_NONSTDC_NO_DEPRECATE | |
878 #endif | 879 #endif |
879 | 880 |
880 /* alloca twiddling. | 881 /* alloca twiddling. |
881 Because we might be #including alloca.h here, feature test macros | 882 Because we might be #including alloca.h here, feature test macros |
882 such as _XOPEN_SOURCE must be defined above. | 883 such as _XOPEN_SOURCE must be defined above. |