mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue