We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3853625 commit ae414b0Copy full SHA for ae414b0
1 file changed
selfcheck.sh
@@ -56,8 +56,6 @@ if [ "$cxx_type" = "g++" ]; then
56
elif [ "$cxx_type" = "clang" ]; then
57
clang_ver=$($CXX -dumpversion)
58
clang_ver=${clang_ver%%.*}
59
- find /usr/include -name cctype
60
- find /usr/lib -name cctype
61
defs=
62
defs="$defs -D__BYTE_ORDER__"
63
defs="$defs -D__linux__"
@@ -101,6 +99,7 @@ elif [ "$cxx_type" = "Apple" ]; then
101
99
inc="$inc -I$sdk_path/usr/include"
102
100
inc="$inc -I$sdk_path/usr/include/i386"
103
inc="$inc -I$sdk_path/usr/include/c++/v1"
+ cat $sdk_path/usr/include/sys/cdefs.h
104
./simplecpp simplecpp.cpp -e -f -std=gnu++11 $defs $inc
105
ec=$?
106
if [ $ec -ne 0 ]; then
0 commit comments