Ver Fonte

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

Ozkan Sezer há 2 anos atrás
pai
commit
f3fe8ea7ad
1 ficheiros alterados com 1 adições e 1 exclusões
  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__) */
 #endif /* defined(__WIN32__) || defined(__GDK__) */
 
 
-#ifdef HAVE_STDIO_H
+#ifdef HAVE_STDIO_H && !(defined(__WIN32__) || defined(__GDK__))
 
 
 #ifdef HAVE_FOPEN64
 #ifdef HAVE_FOPEN64
 #define fopen   fopen64
 #define fopen   fopen64