diff options
author | Guido van Rossum <guido@python.org> | 2001-10-27 21:16:16 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-10-27 21:16:16 (GMT) |
commit | bd67d6f32c813eb3c17a07d305db7004c2dcee0a (patch) | |
tree | cd4953633bd92555715f9f67101110fe1345450c /Include | |
parent | 3abca127fe1565ec80f6b0a1ae48d65186ad887d (diff) | |
download | cpython-bd67d6f32c813eb3c17a07d305db7004c2dcee0a.zip cpython-bd67d6f32c813eb3c17a07d305db7004c2dcee0a.tar.gz cpython-bd67d6f32c813eb3c17a07d305db7004c2dcee0a.tar.bz2 |
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
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pyport.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Include/pyport.h b/Include/pyport.h index 847a332..d1acd8f 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 |