summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn van Groningen2015-09-02 10:26:27 +0000
committerJohn van Groningen2015-09-02 10:26:27 +0000
commit10381bb63cf81c26a6be294413726654560f5b83 (patch)
tree6fbd55675bd55c4d2a090d0537ee58063eb581cf
parentport to ARM (diff)
port to android
-rw-r--r--ufileIO2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ufileIO2.c b/ufileIO2.c
index b9804f4..a46a626 100644
--- a/ufileIO2.c
+++ b/ufileIO2.c
@@ -998,7 +998,7 @@ int file_end (long fn)
/* not portable to all compilers: */
#ifdef LINUX
-# ifdef MACH_O64
+# if defined (MACH_O64) || defined (ANDROID)
if (file_p->_r>0)
# else
/*
@@ -1608,7 +1608,7 @@ int file_s_end (long fn,unsigned long position)
/* not portable to all compilers: */
#ifdef LINUX
-# ifdef MACH_O64
+# if defined (MACH_O64) || defined (ANDROID)
if (file_p->_r>0)
# else
/*