Browse Source

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

Ozkan Sezer 2 years ago
parent
commit
f3fe8ea7ad
1 changed files with 1 additions and 1 deletions
  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