[llvm-commits] [compiler-rt] r167449 - /compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h
Dmitry Vyukov
dvyukov at google.com
Tue Nov 6 04:50:13 PST 2012
Author: dvyukov
Date: Tue Nov 6 06:50:13 2012
New Revision: 167449
URL: http://llvm.org/viewvc/llvm-project?rev=167449&view=rev
Log:
tsan: fix non-msvc windows build
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h?rev=167449&r1=167448&r2=167449&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h Tue Nov 6 06:50:13 2012
@@ -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
More information about the llvm-commits
mailing list