summaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2004-07-28 20:02:52 +0000
committerThomas Heller <theller@ctypes.org>2004-07-28 20:02:52 +0000
commit1aa9432bfe70546d37f09c3a5f35719f2fc87cd7 (patch)
treed59608a5a21d9c549ab167c1826797b5ce11c4b6 /PC
parent51596f2110d6a5a9227271f6b2ebe7487569eec3 (diff)
downloadcpython-1aa9432bfe70546d37f09c3a5f35719f2fc87cd7.tar.gz
Use PyMODINIT_FUNC.
Diffstat (limited to 'PC')
-rwxr-xr-xPC/msvcrtmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/msvcrtmodule.c b/PC/msvcrtmodule.c
index 5afa45f9c3..84cf0c132e 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);