summaryrefslogtreecommitdiff
path: root/bin/gzip/tailor.h
blob: 771295917f8933d919e9da30be88408954a59ff5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* tailor.h -- target dependent definitions
 * Copyright (C) 1992-1993 Jean-loup Gailly.
 * This is free software; you can redistribute it and/or modify it under the
 * terms of the GNU General Public License, see the file COPYING.
 */

/* The target dependent definitions should be defined here only.
 * The target dependent functions should be defined in tailor.c.
 */

/* $Id: tailor.h,v 1.1 2002/08/18 00:59:21 hpa Exp $ */

/* Common defaults */

#ifndef OS_CODE
#define OS_CODE 0x03 /* assume Unix */
#endif

#define PATH_SEP '/'

#ifndef casemap
#define casemap(c) (c)
#endif

#ifndef OPTIONS_VAR
#define OPTIONS_VAR "GZIP"
#endif

#ifndef Z_SUFFIX
#define Z_SUFFIX ".gz"
#endif

#define MAX_SUFFIX 30

#ifndef MIN_PART
#define MIN_PART 3
/* keep at least MIN_PART chars between dots in a file name. */
#endif

#ifndef RECORD_IO
#define RECORD_IO 0
#endif

#ifndef get_char
#define get_char() get_byte()
#endif

#ifndef put_char
#define put_char(c) put_byte(c)
#endif