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

Fixes Bugzilla #3414.
This commit is contained in:
Philipp Wiesemann 2016-08-30 21:14:13 +02:00
parent 5020fe8fdb
commit 51053a062c

View File

@ -20,7 +20,7 @@
*/ */
#include "../../SDL_internal.h" #include "../../SDL_internal.h"
#ifdef SDL_FILESYSTEM_DUMMY #if defined(SDL_FILESYSTEM_DUMMY) || defined(SDL_FILESYSTEM_DISABLED)
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */ /* System dependent filesystem routines */
@ -42,6 +42,6 @@ SDL_GetPrefPath(const char *org, const char *app)
return NULL; return NULL;
} }
#endif /* SDL_FILESYSTEM_DUMMY */ #endif /* SDL_FILESYSTEM_DUMMY || SDL_FILESYSTEM_DISABLED */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */