summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1998-06-29 19:57:11 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1998-06-29 19:57:11 +0000
commit23aaff83ce9d3c5f91779f14c09826a77a19ed38 (patch)
tree3aa4d50c2c596cc6544e1bb445cc49def6816376
parentfadc65d41b6337f1e9e85f69c923daddf25cef25 (diff)
make the bootstrap compile on modern compilers
-rw-r--r--usr.bin/make/make.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/usr.bin/make/make.h b/usr.bin/make/make.h
index d9865c8eee5..2c144ff7efd 100644
--- a/usr.bin/make/make.h
+++ b/usr.bin/make/make.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: make.h,v 1.11 1998/02/22 19:57:33 mickey Exp $ */
+/* $OpenBSD: make.h,v 1.12 1998/06/29 19:57:10 art Exp $ */
/* $NetBSD: make.h,v 1.15 1997/03/10 21:20:00 christos Exp $ */
/*
@@ -65,11 +65,13 @@
# define __P(protos) () /* traditional C preprocessor */
# endif
# endif
-# ifndef const
-# define const
-# endif
-# ifndef volatile
-# define volatile
+# ifndef __STDC__
+# ifndef const
+# define const
+# endif
+# ifndef volatile
+# define volatile
+# endif
# endif
#endif