Skip to content

Commit 191ad47

Browse files
committed
mingw
1 parent 244c803 commit 191ad47

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

selfcheck.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ if [ "$cxx_type" = "g++" ] || [ "$cxx_type" = "g++.exe" ]; then
3333
defs="$defs -D__has_builtin(x)=(1)"
3434
defs="$defs -D__has_cpp_attribute(x)=(1)"
3535
defs="$defs -D__has_attribute(x)=(1)"
36+
3637
find /usr -name cctype
3738
find /usr/include -name cctype
3839
find /usr -name stddef.h
@@ -57,6 +58,9 @@ if [ "$cxx_type" = "g++" ] || [ "$cxx_type" = "g++.exe" ]; then
5758
if [ -d "/usr/lib/gcc/$gcc_target/$gcc_ver/include/c++" ]; then # MSYS
5859
inc="$inc -I/usr/lib/gcc/$gcc_target/$gcc_ver/include/c++"
5960
fi
61+
if [ -d "/usr/lib/gcc/$gcc_target/$gcc_ver/include/c++/$gcc_target" ]; then # MSYS
62+
inc="$inc -I/usr/lib/gcc/$gcc_target/$gcc_ver/include/c++/$gcc_target"
63+
fi
6064
if [ -d "/usr/include/$gcc_target" ]; then
6165
inc="$inc -I/usr/include/$gcc_target"
6266
inc="$inc -I/usr/include/$gcc_target/c++/$gcc_ver"

0 commit comments

Comments
 (0)