From a18331de4e513653e3c2001be07f5df034abd4ba Mon Sep 17 00:00:00 2001 From: Thomas Heller Date: Wed, 28 Jul 2004 20:02:52 +0000 Subject: Use PyMODINIT_FUNC. --- PC/msvcrtmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PC/msvcrtmodule.c b/PC/msvcrtmodule.c index 5afa45f..84cf0c1 100755 --- a/PC/msvcrtmodule.c +++ b/PC/msvcrtmodule.c @@ -217,7 +217,7 @@ static struct PyMethodDef msvcrt_functions[] = { {NULL, NULL} }; -__declspec(dllexport) void +PyMODINIT_FUNC initmsvcrt(void) { PyObject *m = Py_InitModule("msvcrt", msvcrt_functions); -- cgit v0.12