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

Guido van Rossum gvanrossum@users.sourceforge.net
2001年10月27日 14:16:18 -0700


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv3663/Include
Modified Files:
	pyport.h 
Log Message:
SF patch #475657 (Dietmar Schwertberger)
RISCOS/Makefile:
include structseq and weakrefobject;
changes to keep command line length below 2048
RISCOS/Modules/riscosmodule.c:
typos from the stat structseq patch
Include/pyport.h:
don't re-#define __attribute__(__x) on RISC OS as it is already defined in c library
Index: pyport.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pyport.h,v
retrieving revision 2.39
retrieving revision 2.40
diff -C2 -d -r2.39 -r2.40
*** pyport.h	2001年10月24日 20:27:28	2.39
--- pyport.h	2001年10月27日 21:16:16	2.40
***************
*** 454,460 ****
 * Hide GCC attributes from compilers that don't support them.
 */
! #if !defined(__GNUC__) || __GNUC__ < 2 || \
! (__GNUC__ == 2 && __GNUC_MINOR__ < 7) || \
! defined(NEXT)
 #define __attribute__(__x)
 #endif
--- 454,461 ----
 * Hide GCC attributes from compilers that don't support them.
 */
! #if (!defined(__GNUC__) || __GNUC__ < 2 || \
! (__GNUC__ == 2 && __GNUC_MINOR__ < 7) || \
! defined(NEXT) ) && \
! !defined(RISCOS)
 #define __attribute__(__x)
 #endif

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