1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

The GNU/HURD is also using the libc. Therefor, endian.h should be included, not machine/endian.h. See full build log https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-3.3&arch=hurd-i386&ver=1%3A3.3~%2Brc3-1~exp1&stamp=1370358869

llvm-svn: 183303
This commit is contained in:
Sylvestre Ledru 2013-06-05 09:17:26 +00:00
parent d3d6d1e61c
commit 27eb6421e9

View File

@ -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)