summaryrefslogtreecommitdiff
path: root/usr.bin/m4
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-22 00:36:00 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-22 00:36:00 +0000
commit32bb5c8b5aaa2322996d5499d65ed3d99ab6a3ca (patch)
tree67db7859c730d4d0df8be16cfe51458e739cb9fd /usr.bin/m4
parent09f953a174464ba8c750219cfcf9ecdc344eba0d (diff)
__OpenBSD__
Diffstat (limited to 'usr.bin/m4')
-rw-r--r--usr.bin/m4/main.c6
-rw-r--r--usr.bin/m4/pathnames.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/m4/main.c b/usr.bin/m4/main.c
index a226f50978e..234d83f4093 100644
--- a/usr.bin/m4/main.c
+++ b/usr.bin/m4/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.3 1996/06/26 05:36:14 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.4 1996/08/22 00:35:01 deraadt Exp $ */
/* $NetBSD: main.c,v 1.11 1996/01/13 23:25:26 pk Exp $ */
/*-
@@ -47,7 +47,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: main.c,v 1.3 1996/06/26 05:36:14 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: main.c,v 1.4 1996/08/22 00:35:01 deraadt Exp $";
#endif
#endif /* not lint */
@@ -132,7 +132,7 @@ struct keyblk keywrds[] = { /* m4 keywords to be installed */
"syscmd", SYSCTYPE,
"sysval", SYSVTYPE,
-#if defined(unix) || defined(__NetBSD__)
+#if defined(unix) || defined(__NetBSD__) || defined(__OpenBSD__)
"unix", MACRTYPE,
#else
#ifdef vms
diff --git a/usr.bin/m4/pathnames.h b/usr.bin/m4/pathnames.h
index a6332c28aad..dd5bc976f30 100644
--- a/usr.bin/m4/pathnames.h
+++ b/usr.bin/m4/pathnames.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pathnames.h,v 1.2 1996/06/26 05:36:15 deraadt Exp $ */
+/* $OpenBSD: pathnames.h,v 1.3 1996/08/22 00:35:02 deraadt Exp $ */
/* $NetBSD: pathnames.h,v 1.6 1995/09/29 00:27:55 cgd Exp $ */
/*
@@ -49,7 +49,7 @@
#define UNIQUE 3 /* unique char location */
#endif
-#if defined(unix) || defined(__NetBSD__)
+#if defined(unix) || defined(__NetBSD__) || defined(__OpenBSD__)
#define _PATH_DIVNAME "/tmp/m4.0XXXXXX" /* unix diversion files */
#define UNIQUE 8 /* unique char location */
#endif