Skip to content

Commit b6247b0

Browse files
Merge pull request #77200 from al45tair/eng/PR-137551812-fix2
[Backtracing] Fix macro test.
2 parents 512e6b3 + e030e37 commit b6247b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/runtime/Backtrace.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ const char *presetToString(Preset preset) {
260260
bool isPrivileged() {
261261
return getauxval(AT_SECURE);
262262
}
263-
#elif defined(TARGET_OS_OSX) || defined(TARGET_OS_MACCATALYST)
263+
#elif TARGET_OS_OSX || TARGET_OS_MACCATALYST
264264
bool isPrivileged() {
265265
if (issetugid())
266266
return true;

0 commit comments

Comments
 (0)