Add "static" to the Windows ALWAYS_INLINE macro (similar to what we do on POSIX)
authorTimur Iskhodzhanov <timurrrr@google.com>
Thu, 28 Mar 2013 22:07:28 +0000 (22:07 +0000)
committerTimur Iskhodzhanov <timurrrr@google.com>
Thu, 28 Mar 2013 22:07:28 +0000 (22:07 +0000)
llvm-svn: 178296

compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h

index 5533729..e5a7fb7 100644 (file)
@@ -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))