forked from OSchip/llvm-project
Fix pre-processor mistake for BSDs in endianness.h
llvm-svn: 79330
This commit is contained in:
parent
7864b9ea0c
commit
ea0bd0d0a4
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue