[Python-checkins] python/dist/src/Mac/Modules/res _Resmodule.c,1.13,1.14 ressupport.py,1.21,1.22

jackjansen@projects.sourceforge.net jackjansen@projects.sourceforge.net
Mon, 18 Nov 2002 07:26:45 -0800


Update of /cvsroot/python/python/dist/src/Mac/Modules/res
In directory sc8-pr-cvs1:/tmp/cvs-serv31879/res

Modified Files:
	_Resmodule.c ressupport.py 
Log Message:
Define PyDoc_STR if it isn't defined. This makes these modules compile
for Python 2.2.


Index: _Resmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/res/_Resmodule.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** _Resmodule.c	16 Aug 2002 09:09:30 -0000	1.13
--- _Resmodule.c	18 Nov 2002 15:26:41 -0000	1.14
***************
*** 21,24 ****
--- 21,27 ----
  
  
+ #ifndef PyDoc_STR
+ #define PyDoc_STR(x) (x)
+ #endif
  #ifdef WITHOUT_FRAMEWORKS
  #include <Resources.h>

Index: ressupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/res/ressupport.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** ressupport.py	22 Mar 2002 14:16:38 -0000	1.21
--- ressupport.py	18 Nov 2002 15:26:42 -0000	1.22
***************
*** 26,29 ****
--- 26,32 ----
  
  includestuff = includestuff + """
+ #ifndef PyDoc_STR
+ #define PyDoc_STR(x) (x)
+ #endif
  #ifdef WITHOUT_FRAMEWORKS
  #include <Resources.h>