From 10381bb63cf81c26a6be294413726654560f5b83 Mon Sep 17 00:00:00 2001 From: John van Groningen Date: Wed, 2 Sep 2015 10:26:27 +0000 Subject: port to android --- ufileIO2.c | 4 ++-- 1 file 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 /* -- cgit v1.2.3