projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7aad34
)
The GNU/HURD is also using the libc. Therefor, endian.h should be included, not machi...
author
Sylvestre Ledru
<sylvestre@debian.org>
Wed, 5 Jun 2013 09:17:26 +0000
(09:17 +0000)
committer
Sylvestre Ledru
<sylvestre@debian.org>
Wed, 5 Jun 2013 09:17:26 +0000
(09:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183303
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/Host.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/Host.h
b/include/llvm/Support/Host.h
index 7246f51457db703c7f48c2595bdee93b20b9b295..28c4cc790fe501cdbb181813900d85e0352e7efa 100644
(file)
--- a/
include/llvm/Support/Host.h
+++ b/
include/llvm/Support/Host.h
@@
-16,7
+16,7
@@
#include "llvm/ADT/StringMap.h"
-#if defined(__linux__)
+#if defined(__linux__)
|| defined(__GNU__)
#include <endian.h>
#else
#if !defined(BYTE_ORDER) && !defined(LLVM_ON_WIN32)