citra-emu
/
citra
Archived
1
0
Fork 0

Revert "CMake: Avoid non-compliant standard library extensions in MSVC"

This commit is contained in:
zhupengfei 2018-07-13 19:54:00 +08:00 committed by GitHub
parent 47d283a1e4
commit bebe04d58e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -120,8 +120,6 @@ if (NOT MSVC)
else()
# Silence "deprecation" warnings
add_definitions(/D_CRT_SECURE_NO_WARNINGS /D_CRT_NONSTDC_NO_DEPRECATE /D_SCL_SECURE_NO_WARNINGS)
# Avoid non-compliant standard library extensions
add_definitions(/D_CRT_DECLARE_NONSTDC_NAMES)
# Avoid windows.h junk
add_definitions(/DNOMINMAX)
# Avoid windows.h from including some usually unused libs like winsocks.h, since this might cause some redefinition errors.