diff options
Diffstat (limited to 'Include/pyport.h')
-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 |