mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[OLDNAMES] Add _CRT_NONSTDC_NO_DEPRECATE interface definitions
This commit is contained in:
parent
e4930be4ff
commit
a3bab12b50
2 changed files with 5 additions and 3 deletions
|
@ -216,9 +216,6 @@ allow GCC to optimize away some EH unwind code, at least in DW2 case. */
|
||||||
/* Disable deprecation for now! */
|
/* Disable deprecation for now! */
|
||||||
#define _CRT_SECURE_NO_DEPRECATE
|
#define _CRT_SECURE_NO_DEPRECATE
|
||||||
#define _CRT_SECURE_NO_DEPRECATE_CORE
|
#define _CRT_SECURE_NO_DEPRECATE_CORE
|
||||||
#ifdef __WINESRC__
|
|
||||||
#define _CRT_NONSTDC_NO_DEPRECATE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define __crt_typefix(ctype)
|
#define __crt_typefix(ctype)
|
||||||
|
|
||||||
|
|
|
@ -21,3 +21,8 @@ else()
|
||||||
add_library(oldnames ${oldnames_asm})
|
add_library(oldnames ${oldnames_asm})
|
||||||
set_target_properties(oldnames PROPERTIES LINKER_LANGUAGE "C")
|
set_target_properties(oldnames PROPERTIES LINKER_LANGUAGE "C")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
target_compile_definitions(oldnames INTERFACE
|
||||||
|
_CRT_DECLARE_NONSTDC_NAMES=1 # This must be set to 1
|
||||||
|
_CRT_NONSTDC_NO_DEPRECATE
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in a new issue