Skip to content

Commit

Permalink
make WinXP work again
Browse files Browse the repository at this point in the history
  • Loading branch information
Trihedraf committed Dec 14, 2024
1 parent 191e59c commit ecc84b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMake/platforms/windows.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ list(APPEND DEVILUTIONX_PLATFORM_LINK_LIBRARIES
wininet
)

add_definitions(-DWINVER=0x0601 -D_WIN32_WINDOWS=0x0601 -D_WIN32_WINNT=0x0601)
add_definitions(-DWINVER=0x0501 -D_WIN32_WINDOWS=0x0501 -D_WIN32_WINNT=0x0501)

if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
list(APPEND DEVILUTIONX_PLATFORM_COMPILE_OPTIONS "/W3" "/Zc:__cplusplus" "/utf-8")
Expand Down

0 comments on commit ecc84b7

Please sign in to comment.