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

Edward O'Callaghan eocallaghan at auroraux.org
Tue Aug 18 04:07:59 PDT 2009


Author: evocallaghan
Date: Tue Aug 18 06:07:59 2009
New Revision: 79330

URL: http://llvm.org/viewvc/llvm-project?rev=79330&view=rev
Log:
Fix pre-processor mistake for BSDs in endianness.h

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

Modified: compiler-rt/trunk/lib/endianness.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/endianness.h?rev=79330&r1=79329&r2=79330&view=diff

==============================================================================
--- compiler-rt/trunk/lib/endianness.h (original)
+++ compiler-rt/trunk/lib/endianness.h Tue Aug 18 06:07:59 2009
@@ -36,7 +36,7 @@
 
 /* .. */
 
-#if defined(__FreeBSD__) && defined(__NetBSD__) && defined(__OpenBSD__) && defined(__DragonflyBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonflyBSD__)
 #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=79330&r1=79329&r2=79330&view=diff

==============================================================================
--- compiler-rt/trunk/test/Unit/endianness.h (original)
+++ compiler-rt/trunk/test/Unit/endianness.h Tue Aug 18 06:07:59 2009
@@ -36,7 +36,7 @@
 
 /* .. */
 
-#if defined(__FreeBSD__) && defined(__NetBSD__) && defined(__OpenBSD__) && defined(__DragonflyBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonflyBSD__)
 #include <sys/endian.h>
 
 #if _BYTE_ORDER == _BIG_ENDIAN





More information about the llvm-commits mailing list