Skip to content

Commit ae414b0

Browse files
committed
s
1 parent 3853625 commit ae414b0

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
@@ -56,8 +56,6 @@ if [ "$cxx_type" = "g++" ]; then
5656
elif [ "$cxx_type" = "clang" ]; then
5757
clang_ver=$($CXX -dumpversion)
5858
clang_ver=${clang_ver%%.*}
59-
find /usr/include -name cctype
60-
find /usr/lib -name cctype
6159
defs=
6260
defs="$defs -D__BYTE_ORDER__"
6361
defs="$defs -D__linux__"
@@ -101,6 +99,7 @@ elif [ "$cxx_type" = "Apple" ]; then
10199
inc="$inc -I$sdk_path/usr/include"
102100
inc="$inc -I$sdk_path/usr/include/i386"
103101
inc="$inc -I$sdk_path/usr/include/c++/v1"
102+
cat $sdk_path/usr/include/sys/cdefs.h
104103
./simplecpp simplecpp.cpp -e -f -std=gnu++11 $defs $inc
105104
ec=$?
106105
if [ $ec -ne 0 ]; then

0 commit comments

Comments
 (0)