diff options
Diffstat (limited to 'lib/interception/interception_mac.h')
-rw-r--r-- | lib/interception/interception_mac.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/interception/interception_mac.h b/lib/interception/interception_mac.h index e5a35c697..6f31fed47 100644 --- a/lib/interception/interception_mac.h +++ b/lib/interception/interception_mac.h @@ -12,7 +12,7 @@ // Mac-specific interception methods. //===----------------------------------------------------------------------===// -#ifdef __APPLE__ +#if SANITIZER_MAC #if !defined(INCLUDED_FROM_INTERCEPTION_LIB) # error "interception_mac.h should be included from interception.h only" @@ -25,4 +25,4 @@ #define INTERCEPT_FUNCTION_VER_MAC(func, symver) #endif // INTERCEPTION_MAC_H -#endif // __APPLE__ +#endif // SANITIZER_MAC |