projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b8aaf7
)
hurd
author
Vagrant Cascadian
<vagrant@debian.org>
Tue, 7 Apr 2015 20:42:30 +0000
(20:42 +0000)
committer
Vagrant Cascadian
<vagrant@debian.org>
Tue, 7 Apr 2015 20:42:30 +0000
(20:42 +0000)
Gbp-Pq: Name hurd.diff
include/compiler.h
patch
|
blob
|
history
diff --git
a/include/compiler.h
b/include/compiler.h
index 21036022d7a12c68916599c487e68f3ff2ea83d6..4b1ec72ce37f9971abf74941e87b511308d0ebd0 100644
(file)
--- a/
include/compiler.h
+++ b/
include/compiler.h
@@
-15,7
+15,7
@@
defined(__sun__) || \
defined(__APPLE__)
# include <inttypes.h>
-#elif defined(__linux__) || defined(__WIN32__) || defined(__MINGW32__)
+#elif defined(__linux__) || defined(__WIN32__) || defined(__MINGW32__)
|| defined(__GLIBC__)
# include <stdint.h>
#endif
@@
-41,7
+41,7
@@
#define O_BINARY 0
#endif
-#if
def __linux__
+#if
defined(__linux__) || defined(__GLIBC__)
# include <endian.h>
# include <byteswap.h>
#elif defined(__MACH__) || defined(__FreeBSD__)