[compiler-rt] r182469 - [sanitizer] Fix Mac build.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Wed May 22 06:07:24 PDT 2013
Author: eugenis
Date: Wed May 22 08:07:23 2013
New Revision: 182469
URL: http://llvm.org/viewvc/llvm-project?rev=182469&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=182469&r1=182468&r2=182469&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:07:23 2013
@@ -90,7 +90,11 @@ namespace __sanitizer {
int ai_family;
int ai_socktype;
int ai_protocol;
+#if SANITIZER_MAC
+ unsigned ai_addrlen;
+#else
uptr ai_addrlen;
+#endif
void *ai_addr;
char *ai_canonname;
struct __sanitizer_addrinfo *ai_next;
More information about the llvm-commits
mailing list