Skip to content

Commit 9ec4ddd

Browse files
committed
[Sanitizer][Darwin] Support OS versions before DRIVERKIT
Fixes #56960 Differential Revision: https://reviews.llvm.org/D131288
1 parent 28d05d6 commit 9ec4ddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
# else
9191
# define SANITIZER_IOSSIM 0
9292
# endif
93-
# if TARGET_OS_DRIVERKIT
93+
# if defined(TARGET_OS_DRIVERKIT) && TARGET_OS_DRIVERKIT
9494
# define SANITIZER_DRIVERKIT 1
9595
# else
9696
# define SANITIZER_DRIVERKIT 0

0 commit comments

Comments
 (0)