mirror of https://github.com/libsdl-org/SDL.git
Fix -Wundef warnings due to use of unguarded __APPLE__
This commit is contained in:
parent
f39b5a508e
commit
5bbff323c7
|
|
@ -570,7 +570,7 @@ SDL_RWFromFile(const char *file, const char *mode)
|
|||
rwops->type = SDL_RWOPS_WINFILE;
|
||||
#elif HAVE_STDIO_H
|
||||
{
|
||||
#if __APPLE__ && !SDL_FILE_DISABLED // TODO: add dummy?
|
||||
#if defined(__APPLE__) && !SDL_FILE_DISABLED // TODO: add dummy?
|
||||
FILE *fp = SDL_OpenFPFromBundleOrFallback(file, mode);
|
||||
#elif __WINRT__
|
||||
FILE *fp = NULL;
|
||||
|
|
|
|||
Loading…
Reference in New Issue