Explorar o código

fix CI windows errors again (because of unused stdio reader callbacks.)

Ozkan Sezer %!s(int64=3) %!d(string=hai) anos
pai
achega
f3fe8ea7ad
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/file/SDL_rwops.c

+ 1 - 1
src/file/SDL_rwops.c

@@ -306,7 +306,7 @@ windows_file_close(SDL_RWops * context)
 }
 #endif /* defined(__WIN32__) || defined(__GDK__) */
 
-#ifdef HAVE_STDIO_H
+#ifdef HAVE_STDIO_H && !(defined(__WIN32__) || defined(__GDK__))
 
 #ifdef HAVE_FOPEN64
 #define fopen   fopen64