Skip to content

Commit f81d1de

Browse files
thewtexjadh4v
andcommitted
build(native): update MSVC flags
Co-authored-by: Shreeraj Jadhav <[email protected]>
1 parent 6d25c4a commit f81d1de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

itk_wasm_env.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function die() {
77

88
if test "$OSTYPE" = "cygwin" || test "$OSTYPE" = "msys" || test "$OSTYPE" = "win32"; then
99
echo "Windows platform detected ... adding \"/Zc:__cplusplus /DNOMINMAX\" to \$CXXFLAGS"
10-
export CXXFLAGS="/Zc:__cplusplus /DNOMINMAX"
10+
export CXXFLAGS="/Zc:__cplusplus /Zc:preprocessor /DNOMINMAX"
1111
fi
1212

1313
export ITK_WASM_DCMTK_REPOSITORY=${ITK_WASM_DCMTK_REPOSITORY:-"https://github.com/InsightSoftwareConsortium/DCMTK"}

0 commit comments

Comments
 (0)