summaryrefslogtreecommitdiff
path: root/lib/interception/interception_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/interception/interception_win.h')
-rw-r--r--lib/interception/interception_win.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/interception/interception_win.h b/lib/interception/interception_win.h
index 9061f9ed4..71a44428f 100644
--- a/lib/interception/interception_win.h
+++ b/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