summaryrefslogtreecommitdiffstats
path: root/Include/pyport.h
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2007-08-16 14:35:24 (GMT)
committerSkip Montanaro <skip@pobox.com>2007-08-16 14:35:24 (GMT)
commit7a98be2efbdc44a6271e3bf6117a1e6c77828414 (patch)
tree64b6306494f992605ef5bd854dfc9e4922f8b967 /Include/pyport.h
parentc5aba174477a4bdbda31d859ce407c6ee7cef293 (diff)
downloadcpython-7a98be2efbdc44a6271e3bf6117a1e6c77828414.zip
cpython-7a98be2efbdc44a6271e3bf6117a1e6c77828414.tar.gz
cpython-7a98be2efbdc44a6271e3bf6117a1e6c77828414.tar.bz2
Remove RISCOS support
Diffstat (limited to 'Include/pyport.h')
-rw-r--r--Include/pyport.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index febc21e..410c955 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -261,11 +261,6 @@ typedef Py_intptr_t Py_ssize_t;
#define HAVE_FSTAT
#endif
-#ifdef RISCOS
-#include <sys/types.h>
-#include "unixstuff.h"
-#endif
-
#ifdef HAVE_SYS_STAT_H
#if defined(PYOS_OS2) && defined(PYCC_GCC)
#include <sys/types.h>
@@ -677,8 +672,7 @@ extern double hypot(double, double);
* Hide GCC attributes from compilers that don't support them.
*/
#if (!defined(__GNUC__) || __GNUC__ < 2 || \
- (__GNUC__ == 2 && __GNUC_MINOR__ < 7) ) && \
- !defined(RISCOS)
+ (__GNUC__ == 2 && __GNUC_MINOR__ < 7) )
#define Py_GCC_ATTRIBUTE(x)
#else
#define Py_GCC_ATTRIBUTE(x) __attribute__(x)