Displaying 3 results from an estimated 3 matches for "__dragonfly__".
2012 Jan 05
0
[LLVMdev] [PATCH] [compiler-rt] Minix (w.r.t. svn r147606)
...DIAN
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
2012 Jun 13
0
[LLVMdev] [Patch] compiler-rt lib/int_endianness.h
...OS that uses clang as it'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
2004 Sep 06
1
Fixing libvorbisfile to handle largefiles
...;m not at all sure
how this is supposed to build with ftell64() or anything else.
All the BSDen have had native 64-bit stdio but which use a
slightly different name. I'm building for FreeBSD, but the
above __FreeBSD__ check, if correct, could be extended to
cover __NetBSD__ and __OpenBSD__ and __DragonFly__ and any
others. However, as I commented earlier, I'm not sure if
this is the way to do it, or via some `configure' magic,
or something else entirely.
Your input will help me re-do this part of the hack in a
more acceptable way.
And now the meat of the matter:
@@ -738,7 +768,7 @@...