]> granicus.if.org Git - python/commitdiff
Use PyMODINIT_FUNC.
authorThomas Heller <theller@ctypes.org>
Wed, 28 Jul 2004 20:02:52 +0000 (20:02 +0000)
committerThomas Heller <theller@ctypes.org>
Wed, 28 Jul 2004 20:02:52 +0000 (20:02 +0000)
PC/msvcrtmodule.c

index 5afa45f9c30a35ac301809a2dfab1b7b754f3024..84cf0c132ea344e40e7d2d6c0676633f1e37106f 100755 (executable)
@@ -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);