OSDN Git Service

Handle 64-bit offsets correctly on Android
[android-x86/external-exfat.git] / libexfat / exfat.h
index 9a9d596..f8480b5 100644 (file)
 #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>