Skip to content

Commit 3a22e54

Browse files
committed
mingw
1 parent 287fc11 commit 3a22e54

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

selfcheck.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,13 @@ if [ "$cxx_type" = "g++" ] || [ "$cxx_type" = "g++.exe" ]; then
4141
inc="$inc -I$line"
4242
done <<< "$($CXX -x c++ -v -c -S - 2>&1 < /dev/null | grep -e'^ [/A-Z]' | grep -v /cc1plus)"
4343
elif [ "$cxx_type" = "clang" ]; then
44-
cat C:/msys64/clang64/include/c++/v1/__mbstate_t.h
4544
# libstdc++
4645
defs=
4746
defs="$defs -D__x86_64__"
4847
defs="$defs -D__STDC_HOSTED__"
4948
defs="$defs -D__CHAR_BIT__=8"
5049
defs="$defs -D__BYTE_ORDER__=1234"
51-
if [ "${MSYSTEM}" = "MINGW32" ] || [ "${MSYSTEM}" = "MINGW64" ]; then
50+
if [ "${MSYSTEM}" = "MINGW32" ] || [ "${MSYSTEM}" = "MINGW64" ] || [ "${MSYSTEM}" = "CLANG64" ]; then
5251
defs="$defs -D_WIN32"
5352
fi
5453
defs="$defs -D__has_builtin(x)=(1)"

0 commit comments

Comments
 (0)