diff options
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 |