Skip to content

Commit 2386730

Browse files
committed
[Windows] Minor compile change
1 parent b4af86b commit 2386730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def get_libboost_python_name():
117117
library_dirs.add(os.path.join(os.environ["Python_ROOT_DIR"], "libs"))
118118

119119
libraries += ["winmm", "ws2_32", "Advapi32", "dbghelp", "v8_monolith"]
120-
extra_compile_args += ["/O2", "/GL", "/MT", "/EHsc", "/Gy", "/Zi", "/std:c++20"]
120+
extra_compile_args += ["/O2", "/GL", "/MT", "/EHsc", "/Gy", "/Zi", "/std:c++20", "/Zc:__cplusplus"]
121121
extra_link_args += ["/DLL", "/OPT:REF", "/OPT:ICF", "/MACHINE:X64"]
122122
macros += [
123123
("HAVE_SNPRINTF", None),

0 commit comments

Comments
 (0)