mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Define PyDoc_STR if it isn't defined. This makes these modules compile
for Python 2.2.
This commit is contained in:
parent
5efbbcd793
commit
972573553e
9 changed files with 25 additions and 1 deletions
|
@ -20,6 +20,9 @@
|
|||
}} while(0)
|
||||
|
||||
|
||||
#ifndef PyDoc_STR
|
||||
#define PyDoc_STR(x) (x)
|
||||
#endif
|
||||
#ifdef WITHOUT_FRAMEWORKS
|
||||
#include <Resources.h>
|
||||
#include <string.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue