Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype
for Py_Main().
Thanks to Kalle Svensson and Skip Montanaro for the patches.
diff --git a/Modules/fpetestmodule.c b/Modules/fpetestmodule.c
index 565d0b7..aa14dd8 100644
--- a/Modules/fpetestmodule.c
+++ b/Modules/fpetestmodule.c
@@ -44,7 +44,7 @@
#include "Python.h"
static PyObject *fpe_error;
-DL_EXPORT(void) initfpetest(void);
+PyMODINIT_FUNC initfpetest(void);
static PyObject *test(PyObject *self,PyObject *args);
static double db0(double);
static double overflow(double);
@@ -172,7 +172,7 @@
return a;
}
-DL_EXPORT(void) initfpetest(void)
+PyMODINIT_FUNC initfpetest(void)
{
PyObject *m, *d;