mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-29 09:17:28 +01:00
Only Platform/Windows-MSVC.cmake passes /DWIN32; neither Windows-GNU nor the GNU branch of Windows-Clang does. Switching drivers silently took the macro away from every translation unit, and third-party code that tests the unprefixed WIN32 took its non-Windows path: FSR2 defined wcscpy_s as wcscpy, which then failed against the SDK's own three-argument call. asio reads the same macro. Defined before any add_subdirectory so every target sees it.
25 KiB
25 KiB