diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-11-21 18:20:25 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-11-21 18:20:25 (GMT) |
commit | 2607e6c02195538db13b8c3d5d8c7d6b820df71a (patch) | |
tree | 81d8fa51bfcab344b7de9303f6066307d8353ae5 /PC | |
parent | 7ac039653ea9fab695226c9a79a703577d7fc7ba (diff) | |
download | cpython-2607e6c02195538db13b8c3d5d8c7d6b820df71a.zip cpython-2607e6c02195538db13b8c3d5d8c7d6b820df71a.tar.gz cpython-2607e6c02195538db13b8c3d5d8c7d6b820df71a.tar.bz2 |
Conditionalize definition of _CRT_SECURE_NO_DEPRECATE
and _CRT_NONSTDC_NO_DEPRECATE.
Will backport.
Diffstat (limited to 'PC')
-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 4aedce7..f2ef7f95 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 |