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:
fcba4d9
)
Support musl libc that does not define __GLIBC__ macro.
author
relan
<relan@users.noreply.github.com>
Mon, 27 Jul 2015 18:41:20 +0000
(21:41 +0300)
committer
relan
<relan@users.noreply.github.com>
Mon, 24 Aug 2015 05:43:32 +0000
(08:43 +0300)
Looks like all libc implementations that support Linux (glibc,
uClibc(-ng), musl and even Bionic) provide the requred defines.
Consider Linux as a single platform.
Signed-off-by: Brendan Heading <brendanheading@gmail.com>
libexfat/platform.h
patch
|
blob
|
history
diff --git
a/libexfat/platform.h
b/libexfat/platform.h
index
3a5b7a2
..
eaa92f8
100644
(file)
--- a/
libexfat/platform.h
+++ b/
libexfat/platform.h
@@
-24,7
+24,7
@@
#ifndef PLATFORM_H_INCLUDED
#define PLATFORM_H_INCLUDED
-#if defined(__
GLIBC
__)
+#if defined(__
linux
__)
#include <endian.h>
#include <byteswap.h>