Kaydet (Commit) 5687ffe0 authored tarafından Tim Peters's avatar Tim Peters

SF patch 404928: Support for next Cygwin gcc (2.95.2-8)

üst c6cecf55
...@@ -2369,10 +2369,7 @@ static PyMethodDef _functions[] = { ...@@ -2369,10 +2369,7 @@ static PyMethodDef _functions[] = {
{NULL, NULL} {NULL, NULL}
}; };
void DL_EXPORT(void)
#if defined(WIN32)
__declspec(dllexport)
#endif
init_sre(void) init_sre(void)
{ {
PyObject* m; PyObject* m;
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include <fcntl.h> #include <fcntl.h>
#include "gdbm.h" #include "gdbm.h"
#ifdef WIN32 #if defined(WIN32) && !defined(__CYGWIN__)
#include "gdbmerrno.h" #include "gdbmerrno.h"
extern const char * gdbm_strerror(gdbm_error); extern const char * gdbm_strerror(gdbm_error);
#endif #endif
......
...@@ -1042,10 +1042,7 @@ static struct { ...@@ -1042,10 +1042,7 @@ static struct {
void DL_EXPORT(void)
#ifdef WIN32
__declspec(dllexport)
#endif /* WIN32 */
init_exceptions(void) init_exceptions(void)
{ {
char *modulename = "exceptions"; char *modulename = "exceptions";
...@@ -1128,10 +1125,7 @@ init_exceptions(void) ...@@ -1128,10 +1125,7 @@ init_exceptions(void)
} }
void DL_EXPORT(void)
#ifdef WIN32
__declspec(dllexport)
#endif /* WIN32 */
fini_exceptions(void) fini_exceptions(void)
{ {
int i; int i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment