[compiler-rt] r185706 - [sanitizer] Fix mac build.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Fri Jul 5 08:04:56 PDT 2013


Author: eugenis
Date: Fri Jul  5 10:04:56 2013
New Revision: 185706

URL: http://llvm.org/viewvc/llvm-project?rev=185706&view=rev
Log:
[sanitizer] Fix mac build.

Modified:
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h?rev=185706&r1=185705&r2=185706&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h Fri Jul  5 10:04:56 2013
@@ -55,7 +55,11 @@ namespace __sanitizer {
     uptr iov_len;
   };
 
+#if SANITIZER_MAC
+  typedef unsigned long __sanitizer_pthread_key_t;
+#else
   typedef unsigned __sanitizer_pthread_key_t;
+#endif
 
 #if SANITIZER_ANDROID || SANITIZER_MAC
   struct __sanitizer_msghdr {





More information about the llvm-commits mailing list