Files
MINGW-packages/mingw-w64-python3/0840-gdbm-module-includes.patch
2014-05-20 01:12:05 +04:00

13 lines
439 B
Diff

diff -Naur a/Modules/_gdbmmodule.c b/Modules/_gdbmmodule.c
--- a/Modules/_gdbmmodule.c 2014-05-19 09:19:39.000000000 +0400
+++ b/Modules/_gdbmmodule.c 2014-05-20 00:57:04.342000000 +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