[PATCH] Fix compiler-rt build on FreeBSD 10.1

Ed Maste emaste at freebsd.org
Thu Oct 9 19:43:38 PDT 2014


================
Comment at: lib/sanitizer_common/sanitizer_platform_limits_posix.cc:17
@@ -16,1 +16,3 @@
 #include "sanitizer_platform.h"
+#if SANITIZER_FREEBSD
+#define _WANT_RTENTRY
----------------
samsonov wrote:
> Could you move this below
> 
>   #if SANITIZER_LINUX || SANITIZER_FREEBSD || SANITIZER_MAC
> 
> line?
Nest it inside the block at line 23? Sure.

http://reviews.llvm.org/D5703






More information about the llvm-commits mailing list