Turn off CD-ROM support on Android.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 02 Nov 2012 00:47:50 -0400
changeset 1313 8f95fc8eea0c
parent 1312 a5ca4200998d
child 1315 c686e4f84ab5
Turn off CD-ROM support on Android.
src/physfs_platforms.h
--- a/src/physfs_platforms.h	Tue Oct 23 15:08:57 2012 -0400
+++ b/src/physfs_platforms.h	Fri Nov 02 00:47:50 2012 -0400
@@ -35,6 +35,11 @@
 #  define PHYSFS_PLATFORM_POSIX 1
 #elif defined(macintosh)
 #  error Classic Mac OS support was dropped from PhysicsFS 2.0. Move to OS X.
+#elif defined(ANDROID)
+#  define PHYSFS_PLATFORM_LINUX 1
+#  define PHYSFS_PLATFORM_UNIX 1
+#  define PHYSFS_PLATFORM_POSIX 1
+#  define PHYSFS_NO_CDROM_SUPPORT 1
 #elif defined(__linux)
 #  define PHYSFS_PLATFORM_LINUX 1
 #  define PHYSFS_PLATFORM_UNIX 1