Disable CD-ROM support on Android for stable-2.0 branch. stable-2.0
authorRyan C. Gordon <icculus@icculus.org>
Fri, 02 Nov 2012 00:50:30 -0400
branchstable-2.0
changeset 1314 305e3c4985d1
parent 1308 ef4eaec5b8e2
child 1336 d13223a9521f
Disable CD-ROM support on Android for stable-2.0 branch.
physfs_platforms.h
--- a/physfs_platforms.h	Tue Oct 23 14:37:52 2012 -0400
+++ b/physfs_platforms.h	Fri Nov 02 00:50:30 2012 -0400
@@ -38,6 +38,10 @@
 #  endif
 #elif defined(macintosh)
 #  error Classic Mac OS support was dropped from PhysicsFS 2.0. Move to OS X.
+#elif defined(ANDROID)
+#  define PHYSFS_PLATFORM_UNIX
+#  define PHYSFS_PLATFORM_POSIX
+#  define PHYSFS_NO_CDROM_SUPPORT
 #elif defined(unix) || defined(__unix__)
 #  define PHYSFS_PLATFORM_UNIX
 #  define PHYSFS_PLATFORM_POSIX