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
/
exfat.h
diff --git
a/libexfat/exfat.h
b/libexfat/exfat.h
index
9a9d596
..
f8480b5
100644
(file)
--- a/
libexfat/exfat.h
+++ b/
libexfat/exfat.h
@@
-22,6
+22,11
@@
#ifndef EXFAT_H_INCLUDED
#define EXFAT_H_INCLUDED
+#if defined(__ANDROID__)
+#define _OFF_T_DEFINED_
+typedef long long off_t;
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <time.h>