mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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:
parent
3abca127fe
commit
bd67d6f32c
3 changed files with 14 additions and 9 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue