[Sanitizer][Darwin] Support OS versions before DRIVERKIT

Fixes https://github.com/llvm/llvm-project/issues/56960

Differential Revision: https://reviews.llvm.org/D131288
This commit is contained in:
Keith Smiley 2022-08-05 13:26:24 -07:00
parent 28d05d6723
commit 9ec4ddd224
No known key found for this signature in database
GPG Key ID: 33BA60D44C7167F8
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@
# else
# define SANITIZER_IOSSIM 0
# endif
# if TARGET_OS_DRIVERKIT
# if defined(TARGET_OS_DRIVERKIT) && TARGET_OS_DRIVERKIT
# define SANITIZER_DRIVERKIT 1
# else
# define SANITIZER_DRIVERKIT 0