Explorar el Código

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

Ozkan Sezer hace 3 años
padre
commit
f3fe8ea7ad
Se han modificado 1 ficheros con 1 adiciones y 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