summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2016-01-16 01:15:19 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2016-01-16 01:15:19 +0000
commitd73cd4ab01b510f88b03f90882bb07a78eb16627 (patch)
treecc47e1ace8968a39e896d25c0c81d27a62a0d2ce /compiler-rt
parentf8eb6a14147315b076e1acc5340b776b631e6f78 (diff)
downloadbcm5719-llvm-d73cd4ab01b510f88b03f90882bb07a78eb16627.tar.gz
bcm5719-llvm-d73cd4ab01b510f88b03f90882bb07a78eb16627.zip
Attempt to fix sanitizer-windows bot.
llvm-svn: 257978
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h b/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
index 348a8a2d249..c78069b52d2 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
@@ -176,7 +176,9 @@ typedef ALIGNED(1) s32 us32;
typedef ALIGNED(1) s64 us64;
#if SANITIZER_WINDOWS
+} // namespace __sanitizer
typedef unsigned long DWORD; // NOLINT
+namespace __sanitizer {
typedef DWORD thread_return_t;
# define THREAD_CALLING_CONV __stdcall
#else // _WIN32
OpenPOWER on IntegriCloud