SF patch 404928: Support for next Cygwin gcc (2.95.2-8)
This commit is contained in:
parent
c6cecf55d1
commit
5687ffe0c5
|
@ -2369,10 +2369,7 @@ static PyMethodDef _functions[] = {
|
|||
{NULL, NULL}
|
||||
};
|
||||
|
||||
void
|
||||
#if defined(WIN32)
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
DL_EXPORT(void)
|
||||
init_sre(void)
|
||||
{
|
||||
PyObject* m;
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include <fcntl.h>
|
||||
#include "gdbm.h"
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined(__CYGWIN__)
|
||||
#include "gdbmerrno.h"
|
||||
extern const char * gdbm_strerror(gdbm_error);
|
||||
#endif
|
||||
|
|
|
@ -1042,10 +1042,7 @@ static struct {
|
|||
|
||||
|
||||
|
||||
void
|
||||
#ifdef WIN32
|
||||
__declspec(dllexport)
|
||||
#endif /* WIN32 */
|
||||
DL_EXPORT(void)
|
||||
init_exceptions(void)
|
||||
{
|
||||
char *modulename = "exceptions";
|
||||
|
@ -1128,10 +1125,7 @@ init_exceptions(void)
|
|||
}
|
||||
|
||||
|
||||
void
|
||||
#ifdef WIN32
|
||||
__declspec(dllexport)
|
||||
#endif /* WIN32 */
|
||||
DL_EXPORT(void)
|
||||
fini_exceptions(void)
|
||||
{
|
||||
int i;
|
||||
|
|
Loading…
Reference in New Issue