Module Name:    src
Committed By:   rillig
Date:           Sat Apr  3 15:22:23 UTC 2021

Modified Files:
        src/usr.bin/make: make.h

Log Message:
make: revert accidental change from the previous commit

The definition of MAKE_GNUC_PREREQ was not supposed to be changed.  This
change only slipped accidentally, the test for __STDC_VERSION__ was only
supposed to be for UNCONST.


To generate a diff of this commit:
cvs rdiff -u -r1.258 -r1.259 src/usr.bin/make/make.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/make.h
diff -u src/usr.bin/make/make.h:1.258 src/usr.bin/make/make.h:1.259
--- src/usr.bin/make/make.h:1.258	Sat Apr  3 14:39:02 2021
+++ src/usr.bin/make/make.h	Sat Apr  3 15:22:23 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: make.h,v 1.258 2021/04/03 14:39:02 rillig Exp $	*/
+/*	$NetBSD: make.h,v 1.259 2021/04/03 15:22:23 rillig Exp $	*/
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -101,7 +101,7 @@
 #define FD_CLOEXEC 1
 #endif
 
-#if defined(__GNUC__) && __STDC_VERSION__ >= 199901L
+#if defined(__GNUC__)
 #define MAKE_GNUC_PREREQ(x, y)						\
 	((__GNUC__ == (x) && __GNUC_MINOR__ >= (y)) ||			\
 	 (__GNUC__ > (x)))

Reply via email to