Files
MINGW-packages/mingw-w64-python3/0840-gdbm-module-includes.patch
2014-03-17 10:49:46 +04:00

13 lines
439 B
Diff

diff -Naur a/Modules/_gdbmmodule.c b/Modules/_gdbmmodule.c
--- a/Modules/_gdbmmodule.c 2014-03-09 12:40:25.000000000 +0400
+++ b/Modules/_gdbmmodule.c 2014-03-17 10:47:11.275600000 +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