Skip to content

Commit e74fef2

Browse files
committed
fixup: upstream clang applesi support: switch macro to define
1 parent 58d86bc commit e74fef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/cmake/config.guess

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,7 @@ EOF
12971297
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
12981298
grep IS_64BIT_ARCH >/dev/null
12991299
then
1300-
if (echo '#ifdef __PTRAUTH_INTRINSICS__'; echo HAS_AUTH; echo '#endif') | \
1300+
if (echo '#if __has_feature(ptrauth_intrinsics) || defined(__PTRAUTH_INTRINSICS__'; echo HAS_AUTH; echo '#endif') | \
13011301
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
13021302
grep HAS_AUTH >/dev/null
13031303
then

0 commit comments

Comments
 (0)