Commit cd9a8b6b authored by Martin v. Löwis's avatar Martin v. Löwis

Avoid usage of PyDoc_STR in 2.2 compatibility code.

parent 2a1d5160
...@@ -39,7 +39,7 @@ Copyright (C) 1994 Steen Lumholt. ...@@ -39,7 +39,7 @@ Copyright (C) 1994 Steen Lumholt.
/* Allow using this code in Python 2.[12] */ /* Allow using this code in Python 2.[12] */
#ifndef PyDoc_STRVAR #ifndef PyDoc_STRVAR
#define PyDoc_STRVAR(name,str) static char name[] = PyDoc_STR(str) #define PyDoc_STRVAR(name,str) static char name[] = str
#endif #endif
#ifndef PyMODINIT_FUNC #ifndef PyMODINIT_FUNC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment