Fixed compiling if filesystem is disabled (thanks, Elias!).
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Tue, 30 Aug 2016 21:14:13 +0200
changeset 102941ed0064677af
parent 10293 db77073d402d
child 10295 b75ad23f8811
Fixed compiling if filesystem is disabled (thanks, Elias!).

Fixes Bugzilla #3414.
src/filesystem/dummy/SDL_sysfilesystem.c
     1.1 --- a/src/filesystem/dummy/SDL_sysfilesystem.c	Mon Aug 29 20:27:21 2016 -0400
     1.2 +++ b/src/filesystem/dummy/SDL_sysfilesystem.c	Tue Aug 30 21:14:13 2016 +0200
     1.3 @@ -20,7 +20,7 @@
     1.4  */
     1.5  #include "../../SDL_internal.h"
     1.6  
     1.7 -#ifdef SDL_FILESYSTEM_DUMMY
     1.8 +#if defined(SDL_FILESYSTEM_DUMMY) || defined(SDL_FILESYSTEM_DISABLED)
     1.9  
    1.10  /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
    1.11  /* System dependent filesystem routines                                */
    1.12 @@ -42,6 +42,6 @@
    1.13      return NULL;
    1.14  }
    1.15  
    1.16 -#endif /* SDL_FILESYSTEM_DUMMY */
    1.17 +#endif /* SDL_FILESYSTEM_DUMMY || SDL_FILESYSTEM_DISABLED */
    1.18  
    1.19  /* vi: set ts=4 sw=4 expandtab: */