From 030973c6e4c3ee629214fd01bf3112c83d8dae26 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Wed, 29 Oct 2025 09:34:44 +0100 Subject: [PATCH] Update the __cplusplus macro to the correct value on Windows --- configure/CONFIG.msvcCommon | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure/CONFIG.msvcCommon b/configure/CONFIG.msvcCommon index bbdd014ac..d1b937c38 100644 --- a/configure/CONFIG.msvcCommon +++ b/configure/CONFIG.msvcCommon @@ -17,14 +17,14 @@ ARCMD = $(MSVC_PREFIX)lib$(MSVC_SUFFIX) -nologo -verbose -out:$@ $(LIB_OPT_LDFLA CC = cl # OS vendor c preprocessor -CPP = $(CC) -nologo -C -E +CPP = $(CC) -C -E # Configure OS vendor C++ compiler # # -EHsc - generate code for exceptions # -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. GNU = NO