mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Conditionalize definition of _CRT_SECURE_NO_DEPRECATE
and _CRT_NONSTDC_NO_DEPRECATE. Will backport.
This commit is contained in:
parent
7ac039653e
commit
2607e6c021
2 changed files with 11 additions and 0 deletions
|
@ -347,6 +347,13 @@ C API
|
|||
so it can be used as an expression.
|
||||
|
||||
|
||||
Windows
|
||||
-------
|
||||
|
||||
- Conditionalize definition of _CRT_SECURE_NO_DEPRECATE
|
||||
and _CRT_NONSTDC_NO_DEPRECATE.
|
||||
|
||||
|
||||
Mac
|
||||
---
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue