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
(from parent 1:
b3a89e3
)
Fix predefined macro for DragonFlyBSD.
author
Tomohiro Kusumi
<kusumi.tomohiro@gmail.com>
Sun, 1 Apr 2018 05:50:58 +0000
(14:50 +0900)
committer
relan
<relan@users.noreply.github.com>
Mon, 2 Apr 2018 17:19:57 +0000
(20:19 +0300)
__DragonFlyBSD__ is not defined in DragonFlyBSD. It's __DragonFly__
without "BSD".
libexfat/platform.h
patch
|
blob
|
history
diff --git
a/libexfat/platform.h
b/libexfat/platform.h
index
e10c46b
..
9ab3155
100644
(file)
--- a/
libexfat/platform.h
+++ b/
libexfat/platform.h
@@
-46,7
+46,7
@@
#define EXFAT_LITTLE_ENDIAN LITTLE_ENDIAN
#define EXFAT_BIG_ENDIAN BIG_ENDIAN
-#elif defined(__FreeBSD__) || defined(__DragonFly
BSD
__) || defined(__NetBSD__) || defined(__OpenBSD__)
+#elif defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__)
#include <sys/endian.h>
#define exfat_bswap16(x) bswap16(x)