1.30 release
[picodrive.git] / Pico / Cart.c
index 07ced8c..3954670 100644 (file)
@@ -79,8 +79,10 @@ zip_failed:
   f = fopen(path, "rb");\r
   if (f == NULL) return NULL;\r
 \r
+#ifndef NO_IONBF\r
   /* we use our own buffering */\r
   setvbuf(f, NULL, _IONBF, 0);\r
+#endif\r
 \r
   file = malloc(sizeof(*file));\r
   if (file == NULL) {\r