build: work around bug in in Windows SDK 10.0.17763.0 and maybe other versions

This commit is contained in:
Bert Belder 2020-01-12 22:55:23 +01:00
parent 8cd6e896cd
commit c57eb84863
No known key found for this signature in database
GPG Key ID: 7A77887B2E2ED461

View File

@ -12,6 +12,9 @@ else()
add_compile_options(-Wall -Wextra -Werror)
endif()
# Work around bug in in Windows SDK 10.0.17763.0 and maybe other versions.
add_definitions(-D_CRT_HAS_CXX17=0)
set(DIST_DIR "dist")
set(TEST_RUNNER "tools/run-tests.js")