Skip to content
Permalink
Browse files

Fixed compiling if filesystem is disabled (thanks, Elias!).

Fixes Bugzilla #3414.
  • Loading branch information
philippwiesemann committed Aug 30, 2016
1 parent 5020fe8 commit 51053a062c69bf43bf4c3e5b67bcee9cb053a4b0
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/filesystem/dummy/SDL_sysfilesystem.c
@@ -20,7 +20,7 @@
*/
#include "../../SDL_internal.h"

#ifdef SDL_FILESYSTEM_DUMMY
#if defined(SDL_FILESYSTEM_DUMMY) || defined(SDL_FILESYSTEM_DISABLED)

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */
@@ -42,6 +42,6 @@ SDL_GetPrefPath(const char *org, const char *app)
return NULL;
}

#endif /* SDL_FILESYSTEM_DUMMY */
#endif /* SDL_FILESYSTEM_DUMMY || SDL_FILESYSTEM_DISABLED */

/* vi: set ts=4 sw=4 expandtab: */

0 comments on commit 51053a0

Please sign in to comment.