mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-22 19:18:30 +00:00
fix CI windows errors because of SDL_RWFromFP()
This commit is contained in:
@@ -525,7 +525,8 @@ mem_close(SDL_RWops * context)
|
|||||||
|
|
||||||
/* Functions to create SDL_RWops structures from various data sources */
|
/* Functions to create SDL_RWops structures from various data sources */
|
||||||
|
|
||||||
#ifdef HAVE_STDIO_H
|
#if defined(HAVE_STDIO_H) && !(defined(__WIN32__) || defined(__GDK__))
|
||||||
|
/* this is used a helper for SDL_RWFromFile(), but not for windows. */
|
||||||
static SDL_RWops *
|
static SDL_RWops *
|
||||||
SDL_RWFromFP(void *fp, SDL_bool autoclose)
|
SDL_RWFromFP(void *fp, SDL_bool autoclose)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user