File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ if [ "$cxx_type" = "g++" ] || [ "$cxx_type" = "g++.exe" ]; then
2727 defs=" $defs -D__x86_64__"
2828 defs=" $defs -D__STDC_HOSTED__"
2929 defs=" $defs -D__CHAR_BIT__=8"
30+ if [ " ${MSYSTEM} " = " MINGW32" ] || [ " ${MSYSTEM} " = " MINGW64" ]; then
31+ defs=" $defs -D_WIN32"
32+ fi
3033 defs=" $defs -D__has_builtin(x)=(1)"
3134 defs=" $defs -D__has_cpp_attribute(x)=(1)"
3235 defs=" $defs -D__has_attribute(x)=(1)"
@@ -44,9 +47,6 @@ elif [ "$cxx_type" = "clang" ]; then
4447 defs=" $defs -D__STDC_HOSTED__"
4548 defs=" $defs -D__CHAR_BIT__=8"
4649 defs=" $defs -D__BYTE_ORDER__=1234"
47- if [ " ${MSYSTEM} " = " MINGW32" ] || [ " ${MSYSTEM} " = " MINGW64" ]; then
48- defs=" $defs -D_WIN32"
49- fi
5050 defs=" $defs -D__has_builtin(x)=(1)"
5151 defs=" $defs -D__has_cpp_attribute(x)=(1)"
5252 defs=" $defs -D__has_feature(x)=(1)"
You can’t perform that action at this time.
0 commit comments