Files
MINGW-packages/mingw-w64-python2/1020-gdbm-module-includes.patch
2014-06-03 08:54:47 +04:00

13 lines
435 B
Diff

diff -Naur a/Modules/gdbmmodule.c b/Modules/gdbmmodule.c
--- a/Modules/gdbmmodule.c 2014-05-31 22:58:40.000000000 +0400
+++ b/Modules/gdbmmodule.c 2014-06-03 08:14:52.562400000 +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