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
This commit is contained in:
Guido van Rossum 2001-10-27 21:16:16 +00:00
parent 3abca127fe
commit bd67d6f32c
3 changed files with 14 additions and 9 deletions

View file

@ -453,9 +453,10 @@ typedef struct fd_set {
/*
* Hide GCC attributes from compilers that don't support them.
*/
#if !defined(__GNUC__) || __GNUC__ < 2 || \
(__GNUC__ == 2 && __GNUC_MINOR__ < 7) || \
defined(NEXT)
#if (!defined(__GNUC__) || __GNUC__ < 2 || \
(__GNUC__ == 2 && __GNUC_MINOR__ < 7) || \
defined(NEXT) ) && \
!defined(RISCOS)
#define __attribute__(__x)
#endif