Files
MINGW-packages/mingw-w64-python2/1020-gdbm-module-includes.patch

12 lines
378 B
Diff

--- a/Modules/gdbmmodule.c 2013-11-17 11:22:28.000000000 +0400
+++ b/Modules/gdbmmodule.c 2014-02-19 10:20:53.042400000 +0400
@@ -11,7 +11,7 @@
#include <fcntl.h>
#include "gdbm.h"
-#if defined(WIN32) && !defined(__CYGWIN__)
+#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__)
#include "gdbmerrno.h"
extern const char * gdbm_strerror(gdbm_error);
#endif