[PATCH] Support building floating-point facilities on FreeBSD 9.2 in 32-bit mode

Ed Maste emaste at freebsd.org
Mon Jun 23 07:53:15 PDT 2014


================
Comment at: lib/builtins/fp_lib.h:33
@@ +32,3 @@
+#include <sys/param.h>
+# if __FreeBSD_version <= 902001  // v9.2
+#  define uint64_t unsigned long long
----------------
Minor point, we may want to use < 903000 for these tests instead (corresponding to the 9.3 release).  It's a minor point, but I think more accurately reflects the intent of the test.

For example, a hypothetical 9.2.1 point release would still lack -m32 support in headers, but would have a __FreeBSD_version higher then 902001.

http://reviews.llvm.org/D3909






More information about the llvm-commits mailing list