MinGW does not provide EOVERFLOW either.

Use EFBIG, per http://sourceforge.net/p/mingw/bugs/242/
diff --git a/lib/zip_source_buffer.c b/lib/zip_source_buffer.c
index 4ecec6b..091abe1 100644
--- a/lib/zip_source_buffer.c
+++ b/lib/zip_source_buffer.c
@@ -37,6 +37,13 @@
 
 #include "zipint.h"
 
+/* at least MinGW does not provide this error code, see
+ * http://sourceforge.net/p/mingw/bugs/242/
+ */
+#ifndef EOVERFLOW
+#define EOVERFLOW EFBIG
+#endif
+
 #ifndef WRITE_FRAGMENT_SIZE
 #define WRITE_FRAGMENT_SIZE 64*1024
 #endif
diff --git a/lib/zip_source_filep.c b/lib/zip_source_filep.c
index 64d7845..5ad4285 100644
--- a/lib/zip_source_filep.c
+++ b/lib/zip_source_filep.c
@@ -62,6 +62,13 @@
 typedef int mode_t;
 #endif
 
+/* at least MinGW does not provide this error code, see
+ * http://sourceforge.net/p/mingw/bugs/242/
+ */
+#ifndef EOVERFLOW
+#define EOVERFLOW EFBIG
+#endif
+
 struct read_file {
     zip_error_t error;      /* last error information */
     zip_int64_t supports;
diff --git a/lib/zip_source_win32handle.c b/lib/zip_source_win32handle.c
index dd17c02..cfa02aa 100644
--- a/lib/zip_source_win32handle.c
+++ b/lib/zip_source_win32handle.c
@@ -40,6 +40,13 @@
 #include "zipint.h"
 #include "zipwin32.h"
 
+/* at least MinGW does not provide this error code, see
+ * http://sourceforge.net/p/mingw/bugs/242/
+ */
+#ifndef EOVERFLOW
+#define EOVERFLOW EFBIG
+#endif
+
 static zip_int64_t _win32_read_file(void *state, void *data, zip_uint64_t len, zip_source_cmd_t cmd);
 static int _win32_create_temp_file(_zip_source_win32_read_file_t *ctx);
 static int _zip_filetime_to_time_t(FILETIME ft, time_t *t);