summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2013-03-28 22:07:28 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2013-03-28 22:07:28 +0000
commit66b4a28651f3930750ab8cba1916f575fff50215 (patch)
tree4f7147d8e1fe2aa8d032fadc6b54b5189d0451b6 /lib
parentb157c67e17c3fc8805c8b7cb590668885680608f (diff)
downloadcompiler-rt-66b4a28651f3930750ab8cba1916f575fff50215.tar.gz
compiler-rt-66b4a28651f3930750ab8cba1916f575fff50215.tar.bz2
compiler-rt-66b4a28651f3930750ab8cba1916f575fff50215.tar.xz
Add "static" to the Windows ALWAYS_INLINE macro (similar to what we do on POSIX)
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178296 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/sanitizer_common/sanitizer_internal_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_internal_defs.h b/lib/sanitizer_common/sanitizer_internal_defs.h
index 5533729a..e5a7fb7a 100644
--- a/lib/sanitizer_common/sanitizer_internal_defs.h
+++ b/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))