Try to tame Windows headers
See also: https://stackoverflow.com/questions/1394910/how-to-tame-the-windows-headers-useful-defines
This commit is contained in:
parent
e7d4aec6ec
commit
71d7ff3a90
@ -644,7 +644,7 @@ endif()
|
||||
|
||||
if(WIN32)
|
||||
add_executable (nheko WIN32 ${OS_BUNDLE} ${NHEKO_DEPS})
|
||||
target_compile_definitions(nheko PRIVATE _WIN32_WINNT=0x0601)
|
||||
target_compile_definitions(nheko PRIVATE _WIN32_WINNT=0x0601 NOMINMAX WIN32_LEAN_AND_MEAN STRICT)
|
||||
else()
|
||||
add_executable (nheko ${OS_BUNDLE} ${NHEKO_DEPS})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user