]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
OOPS. Enable USE_RWOPS only on Android.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 20 Jul 2016 14:11:45 +0000 (14:11 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Thu, 18 Aug 2016 15:42:45 +0000 (17:42 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12269 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=e18edf826f07d0f30caecc9f9cbda938b7e38605

fs.c
quakedef.h

diff --git a/fs.c b/fs.c
index 1dfc97f1857234c2816099576dd3fda480af33cc..a7074e5ff1f9f59b1b1861d34fe5fa766326cced 100644 (file)
--- a/fs.c
+++ b/fs.c
@@ -74,7 +74,6 @@
 # define dup _dup
 #endif
 
-#define USE_RWOPS 1
 #if USE_RWOPS
 # include <SDL.h>
 typedef SDL_RWops *filedesc_t;
index 60d5db3004a84d52852513b8756d4fc1deda18d6..f2acede25f7b8448706594dd2470d2b56efcc872 100644 (file)
@@ -427,6 +427,7 @@ extern cvar_t sessionid;
 # define DP_OS_NAME            "Android"
 # define DP_OS_STR             "android"
 # define USE_GLES2             1
+# define USE_RWOPS             1
 # define LINK_TO_ZLIB  1
 # define LINK_TO_LIBVORBIS 1
 # define DP_MOBILETOUCH        1