diff options
Diffstat (limited to 'compiler-rt/lib/asan/interception/interception.h')
| -rw-r--r-- | compiler-rt/lib/asan/interception/interception.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler-rt/lib/asan/interception/interception.h b/compiler-rt/lib/asan/interception/interception.h index c7cbd0f5635..ae56af32f0e 100644 --- a/compiler-rt/lib/asan/interception/interception.h +++ b/compiler-rt/lib/asan/interception/interception.h @@ -77,7 +77,7 @@ # define INTERCEPTOR_ATTRIBUTE #elif defined(_WIN32) // TODO(timurrrr): we're likely to use something else later on Windows. -# define WRAP(x) wrap_##x +# define WRAP(x) x # define WRAPPER_NAME(x) #x # define INTERCEPTOR_ATTRIBUTE #else @@ -128,7 +128,8 @@ # define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_MAC(func) #else // defined(_WIN32) // FIXME: deal with interception on Win. -# define INTERCEPT_FUNCTION(func) true +# include "interception_win.h" +# define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_WIN(func) #endif #undef INCLUDED_FROM_INTERCEPTION_LIB |

