aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/gzip
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-20 02:03:38 +0000
committerrsc <devnull@localhost>2004-04-20 02:03:38 +0000
commita0f1e21ff939612898d63ae2245e47dffc1a8153 (patch)
tree581f62db3bad2c54d60cb54b6e577787f55071af /src/cmd/gzip
parente637c944febf271252e59742aa108d6e0a527eb7 (diff)
downloadplan9port-a0f1e21ff939612898d63ae2245e47dffc1a8153.tar.gz
plan9port-a0f1e21ff939612898d63ae2245e47dffc1a8153.tar.bz2
plan9port-a0f1e21ff939612898d63ae2245e47dffc1a8153.zip
make things work on SunOS
Diffstat (limited to 'src/cmd/gzip')
-rw-r--r--src/cmd/gzip/gzip.h3
-rw-r--r--src/cmd/gzip/zip.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/cmd/gzip/gzip.h b/src/cmd/gzip/gzip.h
index 5b9863b4..1713a26c 100644
--- a/src/cmd/gzip/gzip.h
+++ b/src/cmd/gzip/gzip.h
@@ -34,7 +34,8 @@ enum
GZOSACORN = 13, /* Acorn RISCOS */
GZOSUNK = 255,
- GZCRCPOLY = 0xedb88320UL,
+#define GZCRCPOLY 0xedb88320
+/* GZCRCPOLY = 0xedb88320UL, */
GZOSINFERNO = GZOSUNIX,
};
diff --git a/src/cmd/gzip/zip.h b/src/cmd/gzip/zip.h
index 9b703de2..d005469f 100644
--- a/src/cmd/gzip/zip.h
+++ b/src/cmd/gzip/zip.h
@@ -16,7 +16,8 @@ enum
ZTrailInfo = 1 << 3, /* uncsize, csize, and crc are in trailer */
ZCompPatch = 1 << 5, /* compression patched data */
- ZCrcPoly = 0xedb88320,
+/* ZCrcPoly = 0xedb88320, */
+#define ZCrcPoly 0xedb88320
/*
* compression method