|
@@ -791,6 +791,8 @@ else:
|
|
# Note that this is still not complete conformance, as certain Windows-related headers
|
|
# Note that this is still not complete conformance, as certain Windows-related headers
|
|
# don't compile under complete conformance.
|
|
# don't compile under complete conformance.
|
|
env.Prepend(CCFLAGS=["/permissive-"])
|
|
env.Prepend(CCFLAGS=["/permissive-"])
|
|
|
|
+ # Allow use of `__cplusplus` macro to determine C++ standard universally.
|
|
|
|
+ env.Prepend(CXXFLAGS=["/Zc:__cplusplus"])
|
|
|
|
|
|
# Disable exception handling. Godot doesn't use exceptions anywhere, and this
|
|
# Disable exception handling. Godot doesn't use exceptions anywhere, and this
|
|
# saves around 20% of binary size and very significant build time (GH-80513).
|
|
# saves around 20% of binary size and very significant build time (GH-80513).
|