Skip to content

Commit 299943d

Browse files
committed
s
1 parent 119e5e8 commit 299943d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

selfcheck.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ elif [ "$cxx_type" = "Apple" ]; then
8989
defs="$defs -D__GNUC__=15"
9090
defs="$defs -D__x86_64__"
9191
defs="$defs -D__SIZEOF_SIZE_T__=8"
92-
defs="$defs -D__has_feature(x)=(1)"
92+
defs="$defs -D__has_feature(x)=(0)"
9393
defs="$defs -D__has_extension(x)=(1)"
9494
defs="$defs -D__has_attribute(x)=(0)"
9595
defs="$defs -D__has_cpp_attribute(x)=(0)"
96-
defs="$defs -D__has_include_next(x)=(1)"
96+
defs="$defs -D__has_include_next(x)=(0)"
9797
defs="$defs -D__has_builtin(x)=(1)"
9898
defs="$defs -D__is_target_os(x)=(0)"
9999
defs="$defs -D__is_target_arch(x)=(0)"
@@ -105,6 +105,7 @@ elif [ "$cxx_type" = "Apple" ]; then
105105
inc="$inc -I$sdk_path/usr/include/c++/v1"
106106
inc="$inc -I$sdk_path/usr/include"
107107
inc="$inc -I$sdk_path/usr/include/i386"
108+
inc="$inc -I$xcode_path/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/$clang_ver/include/"
108109
cat /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h
109110
else
110111
echo "unknown compiler '$cxx_type'"

0 commit comments

Comments
 (0)