[llvm-commits] [compiler-rt] r147632 - in /compiler-rt/trunk: lib/int_endianness.h test/Unit/endianness.h

Rafael Espindola rafael.espindola at gmail.com
Thu Jan 5 15:59:42 PST 2012


Author: rafael
Date: Thu Jan  5 17:59:42 2012
New Revision: 147632

URL: http://llvm.org/viewvc/llvm-project?rev=147632&view=rev
Log:
Fix build on minix. Patch by Ben Gras!

Modified:
    compiler-rt/trunk/lib/int_endianness.h
    compiler-rt/trunk/test/Unit/endianness.h

Modified: compiler-rt/trunk/lib/int_endianness.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/int_endianness.h?rev=147632&r1=147631&r2=147632&view=diff
==============================================================================
--- compiler-rt/trunk/lib/int_endianness.h (original)
+++ compiler-rt/trunk/lib/int_endianness.h Thu Jan  5 17:59:42 2012
@@ -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

Modified: compiler-rt/trunk/test/Unit/endianness.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/Unit/endianness.h?rev=147632&r1=147631&r2=147632&view=diff
==============================================================================
--- compiler-rt/trunk/test/Unit/endianness.h (original)
+++ compiler-rt/trunk/test/Unit/endianness.h Thu Jan  5 17:59:42 2012
@@ -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





More information about the llvm-commits mailing list