From e3164e96470c1634b87a8efb82836dc8c535bd28 Mon Sep 17 00:00:00 2001 From: Timur Iskhodzhanov Date: Thu, 28 Mar 2013 22:07:28 +0000 Subject: [PATCH] Add "static" to the Windows ALWAYS_INLINE macro (similar to what we do on POSIX) llvm-svn: 178296 --- compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h b/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h index 5533729ac236..e5a7fb7abcab 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h @@ -115,7 +115,7 @@ using namespace __sanitizer; // NOLINT // Platform-specific defs. #if defined(_MSC_VER) -# define ALWAYS_INLINE __forceinline +# define ALWAYS_INLINE static __forceinline // FIXME(timurrrr): do we need this on Windows? # define ALIAS(x) # define ALIGNED(x) __declspec(align(x))