diff options
author | nate <nate@FreeBSD.org> | 1993-10-14 00:33:38 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1993-10-14 00:33:38 +0000 |
commit | eb837699da243caa78b6b6ddf8065c8f6eb8a2e8 (patch) | |
tree | 4fbeb313da94b4852b82e5b0448d45f2e7ae41e9 /gnu/usr.bin/gzip/tailor.h | |
parent | f2586b2d69a4cd1077f15d406ee9c5e345ac3b8d (diff) | |
download | FreeBSD-src-eb837699da243caa78b6b6ddf8065c8f6eb8a2e8.zip FreeBSD-src-eb837699da243caa78b6b6ddf8065c8f6eb8a2e8.tar.gz |
Updated gzip from version 1.2.2 to 1.2.4 due to popular demand
Diffstat (limited to 'gnu/usr.bin/gzip/tailor.h')
-rw-r--r-- | gnu/usr.bin/gzip/tailor.h | 40 |
1 files changed, 34 insertions, 6 deletions
diff --git a/gnu/usr.bin/gzip/tailor.h b/gnu/usr.bin/gzip/tailor.h index 960ff28..a97d8be 100644 --- a/gnu/usr.bin/gzip/tailor.h +++ b/gnu/usr.bin/gzip/tailor.h @@ -34,8 +34,12 @@ # else # define MAXSEG_64K # ifdef __TURBOC__ -# define NO_UTIME # define NO_OFF_T +# ifdef __BORLANDC__ +# define DIRENT +# else +# define NO_UTIME +# endif # else /* MSC */ # define HAVE_SYS_UTIME_H # define NO_UTIME_H @@ -70,11 +74,11 @@ # define NO_MULTIPLE_DOTS # define MAX_EXT_CHARS 3 # define Z_SUFFIX "z" +# define casemap(c) tolow(c) # endif # define NO_CHOWN # define PROTO # define STDC_HEADERS -# define casemap(c) tolow(c) # include <io.h> # define OS_CODE 0x06 # define SET_BINARY_MODE(fd) setmode(fd, O_BINARY) @@ -104,6 +108,27 @@ # endif #endif +#ifdef WIN32 /* Windows NT */ +# define HAVE_SYS_UTIME_H +# define NO_UTIME_H +# define PATH_SEP2 '\\' +# define PATH_SEP3 ':' +# define MAX_PATH_LEN 260 +# define NO_CHOWN +# define PROTO +# define STDC_HEADERS +# define SET_BINARY_MODE(fd) setmode(fd, O_BINARY) +# include <io.h> +# include <malloc.h> +# ifdef NTFAT +# define NO_MULTIPLE_DOTS +# define MAX_EXT_CHARS 3 +# define Z_SUFFIX "z" +# define casemap(c) tolow(c) /* Force file names to lower case */ +# endif +# define OS_CODE 0x0b +#endif + #ifdef MSDOS # ifdef __TURBOC__ # include <alloc.h> @@ -149,7 +174,6 @@ #ifdef AMIGA # define PATH_SEP2 ':' # define STDC_HEADERS -# define casemap(c) tolow(c) /* Force file names to lower case */ # define OS_CODE 0x01 # define ASMV # ifdef __GNUC__ @@ -178,11 +202,15 @@ # define ASMV # define OS_CODE 0x05 # ifdef TOSFS -# define NO_SYMLINK +# define PATH_SEP2 '\\' +# define PATH_SEP3 ':' +# define MAX_PATH_LEN 128 # define NO_MULTIPLE_DOTS # define MAX_EXT_CHARS 3 # define Z_SUFFIX "z" # define NO_CHOWN +# define casemap(c) tolow(c) /* Force file names to lower case */ +# define NO_SYMLINK # endif #endif @@ -221,8 +249,8 @@ # endif #endif -#ifdef WIN32 -# define OS_CODE 0x0b +#if defined(pyr) && !defined(NOMEMCPY) /* Pyramid */ +# define NOMEMCPY /* problem with overlapping copies */ #endif #ifdef TOPS20 |