OSDN Git Service
(root)
/
android-x86
/
external-exfat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c73374
)
Remove OpenBSD-specific macros.
author
relan
<relan@users.noreply.github.com>
Thu, 4 Jul 2013 05:39:50 +0000
(
05:39
+0000)
committer
relan
<relan@users.noreply.github.com>
Mon, 24 Aug 2015 05:26:16 +0000
(08:26 +0300)
There is no OpenBSD port anyway.
libexfat/platform.h
patch
|
blob
|
history
diff --git
a/libexfat/platform.h
b/libexfat/platform.h
index
5e73e45
..
c7d97e0
100644
(file)
--- a/
libexfat/platform.h
+++ b/
libexfat/platform.h
@@
-48,16
+48,6
@@
#define __LITTLE_ENDIAN _LITTLE_ENDIAN
#define __BIG_ENDIAN _BIG_ENDIAN
-#elif defined(__OpenBSD__)
-
-#include <machine/endian.h>
-#define bswap_16(x) swap16(x)
-#define bswap_32(x) swap32(x)
-#define bswap_64(x) swap64(x)
-#define __BYTE_ORDER _BYTE_ORDER
-#define __LITTLE_ENDIAN _LITTLE_ENDIAN
-#define __BIG_ENDIAN _BIG_ENDIAN
-
#else
#error Unknown platform
#endif