Browse Source

Update love.filesystem backend to always use PhysFS 2.1+ codepaths when available.

--HG--
branch : minor
Alex Szpakowski 8 years ago
parent
commit
737433d157
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/modules/filesystem/physfs/File.h

+ 1 - 3
src/modules/filesystem/physfs/File.h

@@ -35,9 +35,7 @@
 // STD
 #include <string>
 
-// These platforms always use PhysFS 2.1.
-#if (defined(LOVE_IOS) || defined(LOVE_ANDROID)) \
-&& (PHYSFS_VER_MAJOR == 2 && PHYSFS_VER_MINOR >= 1)
+#if PHYSFS_VER_MAJOR > 2 || (PHYSFS_VER_MAJOR == 2 && PHYSFS_VER_MINOR >= 1)
 #define LOVE_USE_PHYSFS_2_1
 #endif