summaryrefslogtreecommitdiff
path: root/Include/pyport.h
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2007-08-16 14:35:24 +0000
committerSkip Montanaro <skip@pobox.com>2007-08-16 14:35:24 +0000
commitab8b51637031dc9747455f5496736af55757b74d (patch)
tree3b097dae9f2bc063d3fd1a2de91ae2540ccd67d0 /Include/pyport.h
parentba961667158615ef281cf9b39af33d41f0bf6de4 (diff)
downloadcpython-ab8b51637031dc9747455f5496736af55757b74d.tar.gz
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 febc21ee5e..410c955ede 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)