Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make make: revert accidental change from the previou...



details:   https://anonhg.NetBSD.org/src/rev/9b6926b2d1a7
branches:  trunk
changeset: 982174:9b6926b2d1a7
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Apr 03 15:22:23 2021 +0000

description:
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.

diffstat:

 usr.bin/make/make.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c2a8a0036238 -r 9b6926b2d1a7 usr.bin/make/make.h
--- a/usr.bin/make/make.h       Sat Apr 03 14:56:13 2021 +0000
+++ b/usr.bin/make/make.h       Sat Apr 03 15:22:23 2021 +0000
@@ -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)))



Home | Main Index | Thread Index | Old Index