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 /Modules/zlib | |
parent | c5aba174477a4bdbda31d859ce407c6ee7cef293 (diff) | |
download | cpython-7a98be2efbdc44a6271e3bf6117a1e6c77828414.zip cpython-7a98be2efbdc44a6271e3bf6117a1e6c77828414.tar.gz cpython-7a98be2efbdc44a6271e3bf6117a1e6c77828414.tar.bz2 |
Remove RISCOS support
Diffstat (limited to 'Modules/zlib')
-rw-r--r-- | Modules/zlib/README | 2 | ||||
-rw-r--r-- | Modules/zlib/example.c | 2 | ||||
-rw-r--r-- | Modules/zlib/minigzip.c | 5 | ||||
-rw-r--r-- | Modules/zlib/zutil.h | 2 |
4 files changed, 3 insertions, 8 deletions
diff --git a/Modules/zlib/README b/Modules/zlib/README index 758cc50..02c29d4 100644 --- a/Modules/zlib/README +++ b/Modules/zlib/README @@ -74,7 +74,7 @@ Notes for some targets: - zlib doesn't work on HP-UX 9.05 with some versions of /bin/cc. It works with other compilers. Use "make test" to check your compiler. -- gzdopen is not supported on RISCOS, BEOS and by some Mac compilers. +- gzdopen is not supported on BEOS and by some Mac compilers. - For PalmOs, see http://palmzlib.sourceforge.net/ diff --git a/Modules/zlib/example.c b/Modules/zlib/example.c index 6c8a0ee..52bc261 100644 --- a/Modules/zlib/example.c +++ b/Modules/zlib/example.c @@ -13,7 +13,7 @@ # include <stdlib.h> #endif -#if defined(VMS) || defined(RISCOS) +#if defined(VMS) # define TESTFILE "foo-gz" #else # define TESTFILE "foo.gz" diff --git a/Modules/zlib/minigzip.c b/Modules/zlib/minigzip.c index 4524b96..7f1de49 100644 --- a/Modules/zlib/minigzip.c +++ b/Modules/zlib/minigzip.c @@ -41,11 +41,6 @@ # define unlink delete # define GZ_SUFFIX "-gz" #endif -#ifdef RISCOS -# define unlink remove -# define GZ_SUFFIX "-gz" -# define fileno(file) file->__file -#endif #if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os # include <unix.h> /* for fileno */ #endif diff --git a/Modules/zlib/zutil.h b/Modules/zlib/zutil.h index b7d5eff..34646eb 100644 --- a/Modules/zlib/zutil.h +++ b/Modules/zlib/zutil.h @@ -147,7 +147,7 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ # define OS_CODE 0x0f #endif -#if defined(_BEOS_) || defined(RISCOS) +#if defined(_BEOS_) # define fdopen(fd,mode) NULL /* No fdopen() */ #endif |