NickMcConnell / NarSil

Unofficial rewrite of Sil 1.3.0
13 stars 2 forks source link

Windows: set both WINVER and _WIN32_WINNT to enforce minimum version #701

Closed backwardsEric closed 1 month ago

backwardsEric commented 1 month ago

See https://learn.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-170 . Also, if either is already set, undefine first in case the compiler issues a warning for redefining a macro to a different value.