[compiler-rt] r182473 - [sanitizer] Fix Android build.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Wed May 22 06:38:02 PDT 2013
Author: eugenis
Date: Wed May 22 08:38:02 2013
New Revision: 182473
URL: http://llvm.org/viewvc/llvm-project?rev=182473&view=rev
Log:
[sanitizer] Fix Android 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=182473&r1=182472&r2=182473&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 08:38:02 2013
@@ -90,10 +90,10 @@ namespace __sanitizer {
int ai_family;
int ai_socktype;
int ai_protocol;
-#if SANITIZER_MAC
- unsigned ai_addrlen;
-#else
+#if SANITIZER_LINUX && !SANITIZER_ANDROID
uptr ai_addrlen;
+#else
+ unsigned ai_addrlen;
#endif
void *ai_addr;
char *ai_canonname;
More information about the llvm-commits
mailing list