mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Update love.filesystem backend to always use PhysFS 2.1+ codepaths when available.
--HG-- branch : minor
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user