diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-11-21 18:21:34 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-11-21 18:21:34 (GMT) |
commit | 2396f4c3b1b54a7749d4fa7a6cabac389bff6a21 (patch) | |
tree | e862a7fb83d8a1db6a2527b5fe1f7e4cf7bb6f0b /PC/pyconfig.h | |
parent | 6a3955e99d14b8e4b79d0dd1addae281e5e75318 (diff) | |
download | cpython-2396f4c3b1b54a7749d4fa7a6cabac389bff6a21.zip cpython-2396f4c3b1b54a7749d4fa7a6cabac389bff6a21.tar.gz cpython-2396f4c3b1b54a7749d4fa7a6cabac389bff6a21.tar.bz2 |
Conditionalize definition of _CRT_SECURE_NO_DEPRECATE
and _CRT_NONSTDC_NO_DEPRECATE.
Diffstat (limited to 'PC/pyconfig.h')
-rw-r--r-- | PC/pyconfig.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h index e0df673..20201d0 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -39,8 +39,12 @@ MS_CORE_DLL. would be ISO C conforming). Neither renaming is feasible, so we just silence the warnings. */ +#ifndef _CRT_SECURE_NO_DEPRECATE #define _CRT_SECURE_NO_DEPRECATE 1 +#endif +#ifndef _CRT_NONSTDC_NO_DEPRECATE #define _CRT_NONSTDC_NO_DEPRECATE 1 +#endif /* Windows CE does not have these */ #ifndef MS_WINCE |