[compiler-rt] r182481 - [sanitizer] Fix Mac build one more time.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Wed May 22 08:21:04 PDT 2013
Author: eugenis
Date: Wed May 22 10:21:04 2013
New Revision: 182481
URL: http://llvm.org/viewvc/llvm-project?rev=182481&view=rev
Log:
[sanitizer] Fix Mac build one more time.
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=182481&r1=182480&r2=182481&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 Wed May 22 10:21:04 2013
@@ -90,11 +90,7 @@ namespace __sanitizer {
int ai_family;
int ai_socktype;
int ai_protocol;
-#if SANITIZER_MAC
- unsigned ai_addrlen;
- void *ai_addr;
- char *ai_canonname;
-#elif SANITIZER_ANDROID
+#if SANITIZER_ANDROID || SANITIZER_MAC
unsigned ai_addrlen;
char *ai_canonname;
void *ai_addr;
More information about the llvm-commits
mailing list