Fixed most PhysFS deprecated call warnings on iOS/Android.

This commit is contained in:
Alex Szpakowski
2015-12-09 17:22:46 -04:00
parent 5c3ee15ded
commit 7ee02e8d37
3 changed files with 51 additions and 2 deletions
+7
View File
@@ -22,6 +22,7 @@
#define LOVE_FILESYSTEM_PHYSFS_FILE_H
// LOVE
#include "common/config.h"
#include "filesystem/File.h"
// PhysFS
@@ -34,6 +35,12 @@
// 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)
#define LOVE_USE_PHYSFS_2_1
#endif
namespace love
{
namespace filesystem