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:
b7953e2
)
Support platform macros for GNU/kFreeBSD and GNU/HURD.
author
relan
<relan@users.noreply.github.com>
Wed, 7 Oct 2015 19:18:26 +0000
(22:18 +0300)
committer
relan
<relan@users.noreply.github.com>
Fri, 9 Oct 2015 06:26:23 +0000
(09:26 +0300)
While GNU/kFreeBSD uses glibc it's obviously not Linux, so it requires
explicit __GLIBC__ check. Strangely, but GNU/HURD does not define
__GLIBC__, so check for __GNU__.
libexfat/platform.h
patch
|
blob
|
history
diff --git
a/libexfat/platform.h
b/libexfat/platform.h
index
eaa92f8
..
99fe507
100644
(file)
--- a/
libexfat/platform.h
+++ b/
libexfat/platform.h
@@
-24,7
+24,7
@@
#ifndef PLATFORM_H_INCLUDED
#define PLATFORM_H_INCLUDED
-#if defined(__linux__)
+#if defined(__linux__)
|| defined(__GLIBC__) || defined(__GNU__)
#include <endian.h>
#include <byteswap.h>