Annotation of /trunk/mkinitrd-magellan/klibc/usr/gzip/tailor.h
Parent Directory | Revision Log
Revision 815 -
(hide annotations)
(download)
Fri Apr 24 18:32:46 2009 UTC (15 years, 1 month ago) by niro
File MIME type: text/plain
File size: 998 byte(s)
Fri Apr 24 18:32:46 2009 UTC (15 years, 1 month ago) by niro
File MIME type: text/plain
File size: 998 byte(s)
-updated to klibc-1.5.15
1 | niro | 532 | /* tailor.h -- target dependent definitions |
2 | * Copyright (C) 1992-1993 Jean-loup Gailly. | ||
3 | * This is free software; you can redistribute it and/or modify it under the | ||
4 | * terms of the GNU General Public License, see the file COPYING. | ||
5 | */ | ||
6 | |||
7 | /* The target dependent definitions should be defined here only. | ||
8 | * The target dependent functions should be defined in tailor.c. | ||
9 | */ | ||
10 | |||
11 | niro | 815 | /* $Id: tailor.h,v 1.1 2002/08/18 00:59:21 hpa Exp $ */ |
12 | niro | 532 | |
13 | /* Common defaults */ | ||
14 | |||
15 | #ifndef OS_CODE | ||
16 | # define OS_CODE 0x03 /* assume Unix */ | ||
17 | #endif | ||
18 | |||
19 | #define PATH_SEP '/' | ||
20 | |||
21 | #ifndef casemap | ||
22 | # define casemap(c) (c) | ||
23 | #endif | ||
24 | |||
25 | #ifndef OPTIONS_VAR | ||
26 | # define OPTIONS_VAR "GZIP" | ||
27 | #endif | ||
28 | |||
29 | #ifndef Z_SUFFIX | ||
30 | # define Z_SUFFIX ".gz" | ||
31 | #endif | ||
32 | |||
33 | #define MAX_SUFFIX 30 | ||
34 | |||
35 | #ifndef MIN_PART | ||
36 | # define MIN_PART 3 | ||
37 | /* keep at least MIN_PART chars between dots in a file name. */ | ||
38 | #endif | ||
39 | |||
40 | #ifndef RECORD_IO | ||
41 | # define RECORD_IO 0 | ||
42 | #endif | ||
43 | |||
44 | #ifndef get_char | ||
45 | # define get_char() get_byte() | ||
46 | #endif | ||
47 | |||
48 | #ifndef put_char | ||
49 | # define put_char(c) put_byte(c) | ||
50 | #endif |