diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-20 01:31:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-20 01:31:00 +0300 |
commit | 81f90959fe5bceb743ec243b8f7243b50e933e05 (patch) | |
tree | 31e9d9f6fa57e13ca0dbc2d2452205a6bf49f296 /src | |
parent | 444cb0a5459f8ea0d5cebb9216cfba85a9e9495c (diff) | |
download | manaverse-81f90959fe5bceb743ec243b8f7243b50e933e05.tar.gz manaverse-81f90959fe5bceb743ec243b8f7243b50e933e05.tar.bz2 manaverse-81f90959fe5bceb743ec243b8f7243b50e933e05.tar.xz manaverse-81f90959fe5bceb743ec243b8f7243b50e933e05.zip |
Fix compilation with old physfs.
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/physfstools.cpp | 6 | ||||
-rw-r--r-- | src/utils/physfstools.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/utils/physfstools.cpp b/src/utils/physfstools.cpp index bf0dfead3..06df8fccf 100644 --- a/src/utils/physfstools.cpp +++ b/src/utils/physfstools.cpp @@ -57,17 +57,17 @@ namespace PhysFs PHYSFS_freeList(listVar); } - PHYSFS_File *openRead(const char *filename) + PHYSFS_file *openRead(const char *filename) { return PHYSFS_openRead(filename); } - PHYSFS_File *openWrite(const char *filename) + PHYSFS_file *openWrite(const char *filename) { return PHYSFS_openWrite(filename); } - PHYSFS_File *openAppend(const char *filename) + PHYSFS_file *openAppend(const char *filename) { return PHYSFS_openAppend(filename); } diff --git a/src/utils/physfstools.h b/src/utils/physfstools.h index 8a6c70d25..f917a0841 100644 --- a/src/utils/physfstools.h +++ b/src/utils/physfstools.h @@ -32,9 +32,9 @@ namespace PhysFs char **enumerateFiles(const char *dir); bool isDirectory(const char *fname); void freeList(void *listVar); - PHYSFS_File *openRead(const char *filename); - PHYSFS_File *openWrite(const char *filename); - PHYSFS_File *openAppend(const char *filename); + PHYSFS_file *openRead(const char *filename); + PHYSFS_file *openWrite(const char *filename); + PHYSFS_file *openAppend(const char *filename); bool setWriteDir(const char *newDir); bool addToSearchPath(const char *newDir, int appendToPath); bool removeFromSearchPath(const char *oldDir); |