~ubuntu-branches/ubuntu/lucid/gzip/lucid

« back to all changes in this revision

Viewing changes to tailor.h

  • Committer: Bazaar Package Importer
  • Author(s): Bdale Garbee
  • Date: 2008-04-15 14:03:26 UTC
  • mfrom: (2.1.8 hardy)
  • Revision ID: james.westby@ubuntu.com-20080415140326-tt0bpzc652x56msg
Tags: 1.3.12-6
* strip the win32 gzip.exe binary during install, closes: #464455
* patch from Reuben Thomas for the zless.1 man page with pointers to 
  lessfile and lesspipe, which are a better solution than zless in most
  cases... closes: #46787, #51162
* fix FTBFS when using gcc-4.3, closes: #476031
* remove the preinst since the --assert-support-predepends check should
  no longer be necessary

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* 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
 
 */
 
2
 
 
3
   Copyright (C) 1997, 1998, 1999, 2002, 2006 Free Software Foundation, Inc.
 
4
   Copyright (C) 1992-1993 Jean-loup Gailly
 
5
 
 
6
   This program is free software; you can redistribute it and/or modify
 
7
   it under the terms of the GNU General Public License as published by
 
8
   the Free Software Foundation; either version 2, or (at your option)
 
9
   any later version.
 
10
 
 
11
   This program is distributed in the hope that it will be useful,
 
12
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
   GNU General Public License for more details.
 
15
 
 
16
   You should have received a copy of the GNU General Public License
 
17
   along with this program; if not, write to the Free Software Foundation,
 
18
   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
6
19
 
7
20
/* The target dependent definitions should be defined here only.
8
21
 * The target dependent functions should be defined in tailor.c.
9
22
 */
10
23
 
11
 
/* $Id: tailor.h,v 0.18 1993/06/14 19:32:20 jloup Exp $ */
 
24
/* $Id: tailor.h,v 1.5 2006/12/07 06:58:13 eggert Exp $ */
12
25
 
13
26
#if defined(__MSDOS__) && !defined(MSDOS)
14
27
#  define MSDOS
37
50
#      define off_t long
38
51
#      ifdef __BORLANDC__
39
52
#        define HAVE_DIRENT_H
40
 
#        define HAVE_UTIME
41
53
#      endif
42
54
#      define HAVE_UTIME_H
43
55
#    else /* MSC */
224
236
#ifdef __50SERIES /* Prime/PRIMOS */
225
237
#  define PATH_SEP '>'
226
238
#  define STDC_HEADERS
227
 
#  define NO_STDIN_FSTAT 
228
 
#  define NO_SIZE_CHECK 
 
239
#  define NO_STDIN_FSTAT
 
240
#  define NO_SIZE_CHECK
229
241
#  define RECORD_IO  1
230
242
#  define casemap(c)  tolow(c) /* Force file names to lower case */
231
243
#  define put_char(c) put_byte((c) & 0x7F)
244
256
#  define OS_CODE  0x0a
245
257
#endif
246
258
 
247
 
#ifndef unix
248
 
#  define NO_ST_INO /* don't rely on inode numbers */
249
 
#endif
250
 
 
251
259
 
252
260
        /* Common defaults */
253
261
 
303
311
#endif
304
312
 
305
313
#ifndef OPEN
306
 
#  define OPEN(name, flags, mode) open(name, flags, mode)
 
314
#  define OPEN(name, flags, mode) open_safer (name, flags, mode)
307
315
#endif
308
316
 
309
317
#ifndef get_char