[LLVMdev] [PATCH] [compiler-rt] Minix (w.r.t. svn r147606)
ben gras
ben at minix3.org
Thu Jan 5 06:07:42 PST 2012
Dear all,
I hope this is the right list :). I'd like to submit the attached patch for
committing.
The attached patch are the only required changes to make the latest
compiler-rt build and pass tests (except for 2 currently ignored tests..)
on Minix.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120105/2a93059d/attachment.html>
-------------- next part --------------
Index: test/Unit/endianness.h
===================================================================
--- test/Unit/endianness.h (revision 147606)
+++ test/Unit/endianness.h (working copy)
@@ -36,7 +36,7 @@
/* .. */
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonflyBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonflyBSD__) || defined(__minix)
#include <sys/endian.h>
#if _BYTE_ORDER == _BIG_ENDIAN
Index: lib/int_endianness.h
===================================================================
--- lib/int_endianness.h (revision 147606)
+++ lib/int_endianness.h (working copy)
@@ -31,7 +31,7 @@
/* .. */
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__minix)
#include <sys/endian.h>
#if _BYTE_ORDER == _BIG_ENDIAN
More information about the llvm-dev
mailing list