Skip to content

Commit 8160d4a

Browse files
keithtstellar
authored andcommitted
[Sanitizer][Darwin] Support OS versions before DRIVERKIT
Fixes #56960 Differential Revision: https://reviews.llvm.org/D131288 (cherry picked from commit 9ec4ddd)
1 parent 22dc722 commit 8160d4a

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)