projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cee87d
)
[Support] Make Support/SwapByteOrder.h compile on Fuchsia
author
Roland McGrath
<mcgrathr@google.com>
Wed, 28 Oct 2020 01:30:25 +0000
(18:30 -0700)
committer
Roland McGrath
<mcgrathr@google.com>
Thu, 29 Oct 2020 17:49:06 +0000
(10:49 -0700)
Reviewed By: phosek
Differential Revision: https://reviews.llvm.org/D90279
llvm/include/llvm/Support/SwapByteOrder.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/Support/SwapByteOrder.h
b/llvm/include/llvm/Support/SwapByteOrder.h
index
0e544fc
..
e8612ba
100644
(file)
--- a/
llvm/include/llvm/Support/SwapByteOrder.h
+++ b/
llvm/include/llvm/Support/SwapByteOrder.h
@@
-22,7
+22,7
@@
#endif
#if defined(__linux__) || defined(__GNU__) || defined(__HAIKU__) || \
- defined(__EMSCRIPTEN__)
+ defined(__
Fuchsia__) || defined(__
EMSCRIPTEN__)
#include <endian.h>
#elif defined(_AIX)
#include <sys/machine.h>