commit | fe51c6d66e0fbf6a142036bee2c448bd7fe8fefc | [log] [tgz] |
---|---|---|
author | Mark Hammond <mhammond@skippinet.com.au> | Fri Aug 02 02:27:13 2002 +0000 |
committer | Mark Hammond <mhammond@skippinet.com.au> | Fri Aug 02 02:27:13 2002 +0000 |
tree | 3e1294c64f28a968ac564e96571154f1f591f95f | |
parent | d3c884d4ea6f9e3bf68100734bdf7040db9397cb [diff] [blame] |
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/mathmodule.c b/Modules/mathmodule.c index 88b439f..cbb0000 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c
@@ -334,7 +334,7 @@ "This module is always available. It provides access to the\n" "mathematical functions defined by the C standard."); -DL_EXPORT(void) +PyMODINIT_FUNC initmath(void) { PyObject *m, *d, *v;