Update the __cplusplus macro to the correct value on Windows

This commit is contained in:
2025-10-29 09:34:44 +01:00
parent f08fcfdb39
commit 030973c6e4

View File

@@ -17,14 +17,14 @@ ARCMD = $(MSVC_PREFIX)lib$(MSVC_SUFFIX) -nologo -verbose -out:$@ $(LIB_OPT_LDFLA
CC = cl CC = cl
# OS vendor c preprocessor # OS vendor c preprocessor
CPP = $(CC) -nologo -C -E CPP = $(CC) -C -E
# Configure OS vendor C++ compiler # Configure OS vendor C++ compiler
# #
# -EHsc - generate code for exceptions # -EHsc - generate code for exceptions
# -GR - generate code for run time type identification # -GR - generate code for run time type identification
# #
CCC = $(CC) -EHsc -GR CCC = $(CC) -EHsc -GR -Zc:__cplusplus
# Override CONFIG.gnuCommon settings for cross builds. # Override CONFIG.gnuCommon settings for cross builds.
GNU = NO GNU = NO