summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2012-11-06 12:50:13 +0000
committerDmitry Vyukov <dvyukov@google.com>2012-11-06 12:50:13 +0000
commitbb19294a1195fb320047bace7732f15e85ac4da5 (patch)
tree5523505b8b600806fab6fd003e7530caa076d652
parent97daee89b35f6141db09aee612f0f377f754092f (diff)
downloadcompiler-rt-bb19294a1195fb320047bace7732f15e85ac4da5.tar.gz
tsan: fix non-msvc windows build
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167449 91177308-0d34-0410-b5e6-96231b3b80d8
-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 43a40b533..d52d1a83b 100644
--- a/lib/sanitizer_common/sanitizer_internal_defs.h
+++ b/lib/sanitizer_common/sanitizer_internal_defs.h
@@ -25,7 +25,6 @@ using namespace __sanitizer; // NOLINT
// Platform-specific defs.
#if defined(_MSC_VER)
-typedef unsigned long DWORD; // NOLINT
# define ALWAYS_INLINE __declspec(forceinline)
// FIXME(timurrrr): do we need this on Windows?
# define ALIAS(x)
@@ -56,6 +55,7 @@ typedef unsigned long DWORD; // NOLINT
#endif
#if defined(_WIN32)
+typedef unsigned long DWORD; // NOLINT
typedef DWORD thread_return_t;
# define THREAD_CALLING_CONV __stdcall
#else // _WIN32