summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfsrwops.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-29 22:53:04 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-29 22:53:04 +0300
commit6ba55bd63422372bf4b9a573f0c75fc0877652c1 (patch)
treebeb3285c71b052bea0fdad93acd2461e4fc5df49 /src/fs/virtfs/virtfsrwops.h
parent8f95378c3be89c06c722da03ddbd3641c4fc2323 (diff)
downloadmanaverse-6ba55bd63422372bf4b9a573f0c75fc0877652c1.tar.gz
manaverse-6ba55bd63422372bf4b9a573f0c75fc0877652c1.tar.bz2
manaverse-6ba55bd63422372bf4b9a573f0c75fc0877652c1.tar.xz
manaverse-6ba55bd63422372bf4b9a573f0c75fc0877652c1.zip
Move rwops types into separate file.
Diffstat (limited to 'src/fs/virtfs/virtfsrwops.h')
-rw-r--r--src/fs/virtfs/virtfsrwops.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/fs/virtfs/virtfsrwops.h b/src/fs/virtfs/virtfsrwops.h
index 46d5acca0..ea1259d17 100644
--- a/src/fs/virtfs/virtfsrwops.h
+++ b/src/fs/virtfs/virtfsrwops.h
@@ -47,17 +47,11 @@
#include "localconsts.h"
+#include "fs/virtfs/rwopstypes.h"
+
#include <string>
#include <SDL_rwops.h>
-#ifdef USE_SDL2
-#define RWOPSINT int64_t
-#define RWOPSSIZE size_t
-#else // USE_SDL2
-#define RWOPSINT int32_t
-#define RWOPSSIZE int
-#endif // USE_SDL2
-
struct VirtFile;
namespace VirtFs