projects
/
platform
/
upstream
/
dosfstools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 4.1
[platform/upstream/dosfstools.git]
/
src
/
endian_compat.h
diff --git
a/src/endian_compat.h
b/src/endian_compat.h
index
44168c7
..
79e1f4f
100644
(file)
--- a/
src/endian_compat.h
+++ b/
src/endian_compat.h
@@
-5,7
+5,7
@@
#include <endian.h>
#elif defined(HAVE_SYS_ENDIAN_H)
#include <sys/endian.h>
-#elif defined(
__APPLE__
)
+#elif defined(
HAVE_LIBKERN_OSBYTEORDER_H
)
#include <libkern/OSByteOrder.h>
#define htobe16(x) OSSwapHostToBigInt16(x)