[compiler-rt] r202374 - [sanitizer] Fix iOS build.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Thu Feb 27 02:09:21 PST 2014
Author: eugenis
Date: Thu Feb 27 04:09:21 2014
New Revision: 202374
URL: http://llvm.org/viewvc/llvm-project?rev=202374&view=rev
Log:
[sanitizer] Fix iOS build.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cc?rev=202374&r1=202373&r2=202374&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cc Thu Feb 27 04:09:21 2014
@@ -94,6 +94,9 @@
#undef _KERNEL
#undef INLINE // to avoid clashes with sanitizers' definitions
+#endif
+
+#if SANITIZER_FREEBSD || SANITIZER_IOS
#undef IOC_DIRMASK
#endif
More information about the llvm-commits
mailing list