Kaydet (Commit) 2607e6c0 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Conditionalize definition of _CRT_SECURE_NO_DEPRECATE

and _CRT_NONSTDC_NO_DEPRECATE.
Will backport.
üst 7ac03965
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment