diff options
Diffstat (limited to 'compiler-rt/lib/asan/asan_interface.h')
-rw-r--r-- | compiler-rt/lib/asan/asan_interface.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler-rt/lib/asan/asan_interface.h b/compiler-rt/lib/asan/asan_interface.h index 287916bd437..3a613f600f7 100644 --- a/compiler-rt/lib/asan/asan_interface.h +++ b/compiler-rt/lib/asan/asan_interface.h @@ -15,7 +15,12 @@ #ifndef ASAN_INTERFACE_H #define ASAN_INTERFACE_H +#if !defined(_WIN32) #include <stdint.h> // for __WORDSIZE +#else +// The __attribute__ keyword is not understood by Visual Studio. +#define __attribute__(x) +#endif #include <stdlib.h> // for size_t // This header should NOT include any other headers from ASan runtime. |