On Windows, make PyErr_Warn an exported function again.

This commit is contained in:
Thomas Heller 2006-08-04 18:17:40 +00:00
parent 16183631ed
commit 74d36f0d95
2 changed files with 4 additions and 1 deletions

View file

@ -664,7 +664,7 @@ PyErr_WarnEx(PyObject *category, const char *message, Py_ssize_t stack_level)
#undef PyErr_Warn
int
PyAPI_FUNC(int)
PyErr_Warn(PyObject *category, char *message)
{
return PyErr_WarnEx(category, message, 1);