From bd67d6f32c813eb3c17a07d305db7004c2dcee0a Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sat, 27 Oct 2001 21:16:16 +0000 Subject: 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 --- Include/pyport.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Include') diff --git a/Include/pyport.h b/Include/pyport.h index 847a3320e9..d1acd8ff6a 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -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 -- cgit v1.2.1