diff options
author | Skip Montanaro <skip@pobox.com> | 2007-08-16 14:35:24 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2007-08-16 14:35:24 (GMT) |
commit | 7a98be2efbdc44a6271e3bf6117a1e6c77828414 (patch) | |
tree | 64b6306494f992605ef5bd854dfc9e4922f8b967 /Include | |
parent | c5aba174477a4bdbda31d859ce407c6ee7cef293 (diff) | |
download | cpython-7a98be2efbdc44a6271e3bf6117a1e6c77828414.zip cpython-7a98be2efbdc44a6271e3bf6117a1e6c77828414.tar.gz cpython-7a98be2efbdc44a6271e3bf6117a1e6c77828414.tar.bz2 |
Remove RISCOS support
Diffstat (limited to 'Include')
-rw-r--r-- | Include/osdefs.h | 7 | ||||
-rw-r--r-- | Include/pyport.h | 8 |
2 files changed, 1 insertions, 14 deletions
diff --git a/Include/osdefs.h b/Include/osdefs.h index 6937659..d0305e9 100644 --- a/Include/osdefs.h +++ b/Include/osdefs.h @@ -23,13 +23,6 @@ extern "C" { #endif #endif -#ifdef RISCOS -#define SEP '.' -#define MAXPATHLEN 256 -#define DELIM ',' -#endif - - /* Filename separator */ #ifndef SEP #define SEP '/' 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) |