Add DL_EXPORT() to all modules that could possibly be used

on BeOS or Windows.
This commit is contained in:
Guido van Rossum 1998-12-04 18:50:17 +00:00
parent 50f385c197
commit 3886bb6997
47 changed files with 47 additions and 46 deletions

View file

@ -27,7 +27,7 @@ static PyMethodDef crypt_methods[] = {
{NULL, NULL} /* sentinel */
};
void
DL_EXPORT(void)
initcrypt()
{
Py_InitModule("crypt", crypt_methods);