summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/gzip/Makefile4
-rw-r--r--gnu/usr.bin/gzip/match.S6
2 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/gzip/Makefile b/gnu/usr.bin/gzip/Makefile
index d93e1f357f6..e8a4d5d5e04 100644
--- a/gnu/usr.bin/gzip/Makefile
+++ b/gnu/usr.bin/gzip/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 1996/08/20 05:14:09 tholo Exp $
+# $OpenBSD: Makefile,v 1.4 1996/08/22 01:36:51 deraadt Exp $
# $NetBSD: Makefile,v 1.17 1995/10/24 22:18:34 jtc Exp $
PROG= gzip
@@ -31,7 +31,7 @@ afterinstall:
.if (${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "i386")
match.o: ${.CURDIR}/match.S
- $(CPP) -D__NetBSD__ ${.CURDIR}/match.S >_match.s
+ $(CPP) -D__OpenBSD__ ${.CURDIR}/match.S >_match.s
$(CC) -c _match.s
mv _match.o match.o
rm -f _match.s
diff --git a/gnu/usr.bin/gzip/match.S b/gnu/usr.bin/gzip/match.S
index 5e96d3bd339..f21bc6c6b61 100644
--- a/gnu/usr.bin/gzip/match.S
+++ b/gnu/usr.bin/gzip/match.S
@@ -9,7 +9,7 @@
* Kristoffer Eriksson <ske@pkmab.se>
*/
-/* $Id: match.S,v 1.1 1995/10/18 08:40:53 deraadt Exp $ */
+/* $Id: match.S,v 1.2 1996/08/22 01:36:51 deraadt Exp $ */
/* Preprocess with -DNO_UNDERLINE if your C compiler does not prefix
* external symbols with an underline character '_'.
@@ -216,7 +216,7 @@ maxmatch:
# define TEXT .text
# define FILE(filename) .even
# define invert_maybe(src,dst) src,dst
-# if defined(sun) || defined(mc68k) || defined(__NetBSD__)
+# if defined(sun) || defined(mc68k) || defined(__NetBSD__) || defined(__OpenBSD__)
# define imm(data) #data
# else
# define imm(data) \#data
@@ -224,7 +224,7 @@ maxmatch:
# define reg(register) register
# define blos bcss
-# if defined(sun) || defined(mc68k) || defined(__NetBSD__)
+# if defined(sun) || defined(mc68k) || defined(__NetBSD__) || defined(__OpenBSD__)
# define movel movl
# define movew movw
# define moveb movb