Turn off CD-ROM support on Android.

This commit is contained in:
Ryan C. Gordon 2012-11-02 00:47:50 -04:00
parent 72430427c8
commit 7bd05972c7
1 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,11 @@
# define PHYSFS_PLATFORM_POSIX 1 # define PHYSFS_PLATFORM_POSIX 1
#elif defined(macintosh) #elif defined(macintosh)
# error Classic Mac OS support was dropped from PhysicsFS 2.0. Move to OS X. # 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) #elif defined(__linux)
# define PHYSFS_PLATFORM_LINUX 1 # define PHYSFS_PLATFORM_LINUX 1
# define PHYSFS_PLATFORM_UNIX 1 # define PHYSFS_PLATFORM_UNIX 1