Mercurial > sdl-ios-xcode
diff include/SDL_rwops.h @ 3564:d264d99576c1
Add a dummy function if SDL doesn't have STDIO support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 15 Dec 2009 05:34:58 +0000 |
parents | d3baf5ac4e37 |
children | 701f54683b24 |
line wrap: on
line diff
--- a/include/SDL_rwops.h Tue Dec 15 02:16:01 2009 +0000 +++ b/include/SDL_rwops.h Tue Dec 15 05:34:58 2009 +0000 @@ -131,6 +131,9 @@ #ifdef HAVE_STDIO_H extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFP(FILE * fp, SDL_bool autoclose); +#else +extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFP(void * fp, + SDL_bool autoclose); #endif extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromMem(void *mem, int size);