tsan: fix non-msvc windows build



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167449 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/sanitizer_common/sanitizer_internal_defs.h b/lib/sanitizer_common/sanitizer_internal_defs.h
index 43a40b5..d52d1a8 100644
--- a/lib/sanitizer_common/sanitizer_internal_defs.h
+++ b/lib/sanitizer_common/sanitizer_internal_defs.h
@@ -25,7 +25,6 @@
 
 // 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 @@
 #endif
 
 #if defined(_WIN32)
+typedef unsigned long DWORD;  // NOLINT
 typedef DWORD thread_return_t;
 # define THREAD_CALLING_CONV __stdcall
 #else  // _WIN32