aboutsummaryrefslogtreecommitdiffhomepage
path: root/osdep/io.h
diff options
context:
space:
mode:
authorGravatar Tom Yan <tom.ty89@gmail.com>2018-07-21 16:39:11 +0800
committerGravatar sfan5 <sfan5@live.de>2018-08-20 17:16:22 +0200
commitd4bbfb8453f2161fd21e6f3c00023edf43cc88fc (patch)
treecf08e1c64d498892e5a8cf129064d8ab78781531 /osdep/io.h
parentd48786f68264ed23f8c3aa847e672a24d1cf4944 (diff)
osdep: make use of HAVE_ANDROID
Diffstat (limited to 'osdep/io.h')
-rw-r--r--osdep/io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep/io.h b/osdep/io.h
index e0d6284baa..7e8a267541 100644
--- a/osdep/io.h
+++ b/osdep/io.h
@@ -33,7 +33,7 @@
#include <glob.h>
#endif
-#ifdef __ANDROID__
+#if HAVE_ANDROID
# include <unistd.h>
# include <stdio.h>
@@ -58,7 +58,7 @@ static inline int mp_fseeko(FILE* fp, off64_t offset, int whence) {
}
#define fseeko(f,p,w) mp_fseeko((f), (p), (w))
-#endif // __ANDROID__
+#endif // HAVE_ANDROID
#ifndef O_BINARY
#define O_BINARY 0