summaryrefslogtreecommitdiffstats
path: root/usr.bin/m4/pathnames.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/m4/pathnames.h')
-rw-r--r--usr.bin/m4/pathnames.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/m4/pathnames.h b/usr.bin/m4/pathnames.h
index 3983cf6..043190c 100644
--- a/usr.bin/m4/pathnames.h
+++ b/usr.bin/m4/pathnames.h
@@ -1,3 +1,6 @@
+/* $OpenBSD: pathnames.h,v 1.4 1997/04/04 18:41:29 deraadt Exp $ */
+/* $NetBSD: pathnames.h,v 1.6 1995/09/29 00:27:55 cgd Exp $ */
+
/*
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -47,10 +50,9 @@
#define UNIQUE 3 /* unique char location */
#endif
-#ifdef unix
-#define _PATH_DIVDIRNAME "/tmp/m4XXXXXX" /* directory for files */
-#define _PATH_DIVNAME "m4.0" /* unix diversion files */
-#define UNIQUE 17 /* unique char location */
+#if defined(unix) || defined(__NetBSD__) || defined(__OpenBSD__)
+#define _PATH_DIVNAME "/tmp/m4.0XXXXXXXXXX" /* unix diversion files */
+#define UNIQUE 8 /* unique char location */
#endif
#ifdef vms
OpenPOWER on IntegriCloud