summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-18 11:07:59 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-18 11:07:59 +0000
commit4e19ff6f4fae51378748add5e1606bd921fea442 (patch)
tree83c8a78e7227a8b0083b98a7cda085e4dbbc6257 /test
parentb72794dfba84f063521f031ac7395fa4dd619983 (diff)
downloadcompiler-rt-4e19ff6f4fae51378748add5e1606bd921fea442.tar.gz
compiler-rt-4e19ff6f4fae51378748add5e1606bd921fea442.tar.bz2
compiler-rt-4e19ff6f4fae51378748add5e1606bd921fea442.tar.xz
Fix pre-processor mistake for BSDs in endianness.h
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@79330 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Unit/endianness.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Unit/endianness.h b/test/Unit/endianness.h
index 8069bacb..c4c6e06a 100644
--- a/test/Unit/endianness.h
+++ b/test/Unit/endianness.h
@@ -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