From 038b0fa5faf22cbd097ae0f5aa1ec89ce11090d3 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 2 Nov 2012 00:50:30 -0400 Subject: [PATCH] Disable CD-ROM support on Android for stable-2.0 branch. --- physfs_platforms.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/physfs_platforms.h b/physfs_platforms.h index 112193cd..07d86797 100644 --- a/physfs_platforms.h +++ b/physfs_platforms.h @@ -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