Displaying 2 results from an estimated 2 matches for "__minix".
2012 Jan 05
0
[LLVMdev] [PATCH] [compiler-rt] Minix (w.r.t. svn r147606)
...on 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...
2012 Jun 13
0
[LLVMdev] [Patch] compiler-rt lib/int_endianness.h
...#39;s compiler.
diff --git a/lib/int_endianness.h b/lib/int_endianness.h
index 70bd177..f821f9a 100644
--- a/lib/int_endianness.h
+++ b/lib/int_endianness.h
@@ -31,8 +31,8 @@
/* .. */
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__minix)
-#include <sys/endian.h>
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__minix) || defined(__Bitrig__)
+#include <machine/endian.h>
#if _BYTE_ORDER == _BIG_ENDIAN
#define _YUGA_LITTLE_ENDIAN 0