aboutsummaryrefslogtreecommitdiff
path: root/minigzip.c
diff options
context:
space:
mode:
Diffstat (limited to 'minigzip.c')
-rw-r--r--minigzip.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/minigzip.c b/minigzip.c
index bd0735b..fcee6a2 100644
--- a/minigzip.c
+++ b/minigzip.c
@@ -13,7 +13,7 @@
13 * or in pipe mode. 13 * or in pipe mode.
14 */ 14 */
15 15
16/* $Id: minigzip.c,v 1.9 1996/05/22 11:52:32 me Exp $ */ 16/* $Id: minigzip.c,v 1.10 1996/07/24 13:41:04 me Exp $ */
17 17
18#include <stdio.h> 18#include <stdio.h>
19#include "zlib.h" 19#include "zlib.h"
@@ -37,7 +37,14 @@
37#ifdef VMS 37#ifdef VMS
38# define unlink delete 38# define unlink delete
39# define GZ_SUFFIX "-gz" 39# define GZ_SUFFIX "-gz"
40#else 40#endif
41#ifdef RISCOS
42# define unlink remove
43# define GZ_SUFFIX "-gz"
44# define fileno(file) file->__file
45#endif
46
47#ifndef GZ_SUFFIX
41# define GZ_SUFFIX ".gz" 48# define GZ_SUFFIX ".gz"
42#endif 49#endif
43#define SUFFIX_LEN sizeof(GZ_SUFFIX) 50#define SUFFIX_LEN sizeof(GZ_SUFFIX)