Kaydet (Commit) cd9a8b6b authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Avoid usage of PyDoc_STR in 2.2 compatibility code.

üst 2a1d5160
......@@ -39,7 +39,7 @@ Copyright (C) 1994 Steen Lumholt.
/* Allow using this code in Python 2.[12] */
#ifndef PyDoc_STRVAR
#define PyDoc_STRVAR(name,str) static char name[] = PyDoc_STR(str)
#define PyDoc_STRVAR(name,str) static char name[] = str
#endif
#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