Przeglądaj źródła

Disable CD-ROM support on Android for stable-2.0 branch.

Ryan C. Gordon 13 lat temu
rodzic
commit
038b0fa5fa
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      physfs_platforms.h

+ 4 - 0
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