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

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-09-03 19:34:46 -03:00
parent 61a8ce6a66
commit 737433d157
+1 -3
View File
@@ -35,9 +35,7 @@
// STD // STD
#include <string> #include <string>
// These platforms always use PhysFS 2.1. #if PHYSFS_VER_MAJOR > 2 || (PHYSFS_VER_MAJOR == 2 && PHYSFS_VER_MINOR >= 1)
#if (defined(LOVE_IOS) || defined(LOVE_ANDROID)) \
&& (PHYSFS_VER_MAJOR == 2 && PHYSFS_VER_MINOR >= 1)
#define LOVE_USE_PHYSFS_2_1 #define LOVE_USE_PHYSFS_2_1
#endif #endif