summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/interception/interception_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/interception/interception_win.h')
-rw-r--r--compiler-rt/lib/interception/interception_win.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/interception/interception_win.h b/compiler-rt/lib/interception/interception_win.h
index 9061f9ed4c2..71a44428f5c 100644
--- a/compiler-rt/lib/interception/interception_win.h
+++ b/compiler-rt/lib/interception/interception_win.h
@@ -12,7 +12,7 @@
// Windows-specific interception methods.
//===----------------------------------------------------------------------===//
-#ifdef _WIN32
+#if SANITIZER_WINDOWS
#if !defined(INCLUDED_FROM_INTERCEPTION_LIB)
# error "interception_win.h should be included from interception library only"
@@ -81,4 +81,4 @@ void TestOnlyReleaseTrampolineRegions();
(::__interception::uptr *)&REAL(func))
#endif // INTERCEPTION_WIN_H
-#endif // _WIN32
+#endif // SANITIZER_WINDOWS
OpenPOWER on IntegriCloud