Work around how emscripten defines rwops
authorkoda
Thu, 21 Apr 2016 00:09:07 -0400
changeset 11656 227718170097
parent 11655 e15eb10f1703
child 11657 ae6706411b24
Work around how emscripten defines rwops
misc/libphyslayer/physfsrwops.c
--- a/misc/libphyslayer/physfsrwops.c	Wed Apr 20 23:49:37 2016 -0400
+++ b/misc/libphyslayer/physfsrwops.c	Thu Apr 21 00:09:07 2016 -0400
@@ -180,7 +180,7 @@
         retval = SDL_AllocRW();
         if (retval != NULL)
         {
-#if TARGET_SDL13
+#if TARGET_SDL13 && !defined(EMSCRIPTEN)
             retval->size  = physfsrwops_size;
 #endif
             retval->seek  = physfsrwops_seek;