Use PyMODINIT_FUNC.
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 @@
 	{NULL,			NULL}
 };
 
-__declspec(dllexport) void
+PyMODINIT_FUNC
 initmsvcrt(void)
 {
 	PyObject *m = Py_InitModule("msvcrt", msvcrt_functions);