difforig /usr/include/python2.5 2007-08-18 Reini Urban diff -ub /usr/include/python2.5/pyport.h.orig --- /usr/include/python2.5/pyport.h.orig 2007-06-20 03:57:09.001000000 +0000 +++ /usr/include/python2.5/pyport.h 2007-08-18 10:38:12.140625000 +0000 @@ -609,12 +609,13 @@ # if defined(HAVE_DECLSPEC_DLL) # ifdef Py_BUILD_CORE # define PyAPI_FUNC(RTYPE) __declspec(dllexport) RTYPE -# define PyAPI_DATA(RTYPE) extern __declspec(dllexport) RTYPE /* module init functions inside the core need no external linkage */ /* except for Cygwin to handle embedding (FIXME: BeOS too?) */ # if defined(__CYGWIN__) +# define PyAPI_DATA(RTYPE) extern RTYPE # define PyMODINIT_FUNC __declspec(dllexport) void # else /* __CYGWIN__ */ +# define PyAPI_DATA(RTYPE) extern __declspec(dllexport) RTYPE # define PyMODINIT_FUNC void # endif /* __CYGWIN__ */ # else /* Py_BUILD_CORE */