home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2 / DJLSR201.ZIP / src / utils / djtar / tailor.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-16  |  1022 b   |  41 lines

  1. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  2. /* tailor.h -- target dependent definitions
  3.  * Copyright (C) 1992-1993 Jean-loup Gailly.
  4.  *
  5.  * Severely butchered by Eli Zaretskii to only define things we need
  6.  * when compiling DJTAR under DJGPP v2.0 and later.
  7.  *
  8.  * This is free software; you can redistribute it and/or modify it under the
  9.  * terms of the GNU General Public License, see the file COPYING.
  10.  */
  11.  
  12. /* The target dependent definitions should be defined here only.
  13.  * The target dependent functions should be defined in tailor.c.
  14.  */
  15.  
  16. /* $Id: tailor.h,v 0.18 1993/06/14 19:32:20 jloup Exp $ */
  17.  
  18. #if defined(__MSDOS__) && !defined(MSDOS)
  19. #  define MSDOS
  20. #endif
  21.  
  22. #define MAX_PATH_LEN  128
  23.  
  24.     /* Common defaults */
  25.  
  26. #ifndef RECORD_IO
  27. #  define RECORD_IO 0
  28. #endif
  29.  
  30. #ifndef OPEN
  31. #  define OPEN(name, flags, mode) open(name, flags, mode)
  32. #endif
  33.  
  34. #ifndef get_char
  35. #  define get_char() get_byte()
  36. #endif
  37.  
  38. #ifndef put_char
  39. #  define put_char(c) put_byte(c)
  40. #endif
  41.