New upstream version 1.8
[debian/gzip] / tailor.h
index 0bf88ffe127618deec3c02476585e861b5fcd70d..1feb807ca6dddd2cc38fa5f6ce82c86a83ce7899 100644 (file)
--- a/tailor.h
+++ b/tailor.h
@@ -1,6 +1,6 @@
 /* tailor.h -- target dependent definitions
 
-   Copyright (C) 1997-1999, 2002, 2006, 2009-2013 Free Software Foundation,
+   Copyright (C) 1997-1999, 2002, 2006, 2009-2016 Free Software Foundation,
    Inc.
    Copyright (C) 1992-1993 Jean-loup Gailly
 
@@ -56,7 +56,6 @@
 #  define NO_MULTIPLE_DOTS
 #  define MAX_EXT_CHARS 3
 #  define Z_SUFFIX "z"
-#  define PROTO
 #  define STDC_HEADERS
 #  define NO_SIZE_CHECK
 #  define UNLINK_READONLY_BUG
@@ -81,7 +80,6 @@
 #    define Z_SUFFIX "z"
 #    define casemap(c) tolow(c)
 #  endif
-#  define PROTO
 #  define STDC_HEADERS
 #  define UNLINK_READONLY_BUG
 #  include <io.h>
 #  define PATH_SEP2 '\\'
 #  define PATH_SEP3 ':'
 #  define MAX_PATH_LEN  260
-#  define PROTO
 #  define STDC_HEADERS
 #  define SET_BINARY_MODE(fd) setmode(fd, O_BINARY)
 #  define UNLINK_READONLY_BUG
 #    define HAVE_CHOWN
 #    define HAVE_LSTAT
 #  else /* SASC */
-#    define NO_STDIN_FSTAT
 #    define HAVE_SYS_DIR_H
 #    include <fcntl.h> /* for read() and write() */
 #    define direct dirent
 #  endif
 #endif
 
-#ifdef MACOS
-#  define PATH_SEP ':'
-#  define DYN_ALLOC
-#  define PROTO
-#  define NO_STDIN_FSTAT
-#  define chmod(file, mode) (0)
-#  define OPEN(name, flags, mode) open(name, flags)
-#  define OS_CODE  0x07
-#  ifdef MPW
-#    define isatty(fd) ((fd) <= 2)
-#  endif
-#endif
-
 #ifdef TOPS20
 #  define OS_CODE  0x0a
 #endif
 
+#ifndef SIGPIPE
+# define SIGPIPE 0
+#endif
+
 
         /* Common defaults */
 
 #ifndef SET_BINARY_MODE
 #  define SET_BINARY_MODE(fd)
 #endif
-
-#ifndef OPEN
-#  define OPEN(name, flags, mode) open_safer (name, flags, mode)
-#endif