OSDN Git Service
(root)
/
android-x86
/
external-exfat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Handle 64-bit offsets correctly on Android
[android-x86/external-exfat.git]
/
libexfat
/
platform.h
diff --git
a/libexfat/platform.h
b/libexfat/platform.h
index
1537283
..
f3429ae
100644
(file)
--- a/
libexfat/platform.h
+++ b/
libexfat/platform.h
@@
-22,7
+22,7
@@
#ifndef PLATFORM_H_INCLUDED
#define PLATFORM_H_INCLUDED
#ifndef PLATFORM_H_INCLUDED
#define PLATFORM_H_INCLUDED
-#if defined(__GLIBC__)
+#if defined(__GLIBC__)
|| defined (__ANDROID__)
#include <endian.h>
#include <byteswap.h>
#include <endian.h>
#include <byteswap.h>
@@
-38,7
+38,7
@@
#define __LITTLE_ENDIAN LITTLE_ENDIAN
#define __BIG_ENDIAN BIG_ENDIAN
#define __LITTLE_ENDIAN LITTLE_ENDIAN
#define __BIG_ENDIAN BIG_ENDIAN
-#elif defined(__
ANDROID__) || defined(__
FreeBSD__) || defined(__DragonFlyBSD__) || defined(__NetBSD__)
+#elif defined(__FreeBSD__) || defined(__DragonFlyBSD__) || defined(__NetBSD__)
#include <sys/endian.h>
#define bswap_16(x) bswap16(x)
#include <sys/endian.h>
#define bswap_16(x) bswap16(x)