# HG changeset patch
# User koda
# Date 1461211747 14400
# Node ID 2277181700979a6c37cc378ee3d2814a6ddea761
# Parent  e15eb10f170391591a822a71dac3e3f90f4146ab
Work around how emscripten defines rwops

diff -r e15eb10f1703 -r 227718170097 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;