[Python-checkins] CVS: python/dist/src/Include pyport.h,2.40,2.41

Tim Peters tim_one@users.sourceforge.net
2001年12月25日 11:07:40 -0800


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv11271/python/Include
Modified Files:
	pyport.h 
Log Message:
SF bug #495548: troublesome #define in pyport.h
Removed the ancient "#define ANY void".
Bugfix candidate? Hard call. The bug report claims the existence of
this #define creates conflicts with other packages, which is easy to
believe. OTOH, some extension authors may still be relying on its
presence. I'm afraid you can't win on this one.
Index: pyport.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pyport.h,v
retrieving revision 2.40
retrieving revision 2.41
diff -C2 -d -r2.40 -r2.41
*** pyport.h	2001年10月27日 21:16:16	2.40
--- pyport.h	2001年12月25日 19:07:38	2.41
***************
*** 34,38 ****
 
 /* For backward compatibility only. Obsolete, do not use. */
- #define ANY void
 #ifdef HAVE_PROTOTYPES
 #define Py_PROTO(x) x
--- 34,37 ----

AltStyle によって変換されたページ (->オリジナル) /