Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/flex/dist/src PR toolchain/53511



details:   https://anonhg.NetBSD.org/src/rev/29e3e20ec51a
branches:  trunk
changeset: 365532:29e3e20ec51a
user:      kre <kre%NetBSD.org@localhost>
date:      Mon Aug 20 10:24:17 2018 +0000

description:
PR toolchain/53511

_NETBSD_SOURCE and nbtool_config.h don't play well together...
(unbreak tools build on netbsd host)

diffstat:

 external/bsd/flex/dist/src/flexdef.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 6abf102043d1 -r 29e3e20ec51a external/bsd/flex/dist/src/flexdef.h
--- a/external/bsd/flex/dist/src/flexdef.h      Mon Aug 20 09:50:18 2018 +0000
+++ b/external/bsd/flex/dist/src/flexdef.h      Mon Aug 20 10:24:17 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: flexdef.h,v 1.4 2018/08/20 08:51:56 christos Exp $     */
+/*     $NetBSD: flexdef.h,v 1.5 2018/08/20 10:24:17 kre Exp $  */
 
 /* flexdef - definitions file for flex */
 
@@ -36,7 +36,7 @@
 #ifndef FLEXDEF_H
 #define FLEXDEF_H 1
 
-#if HAVE_NBTOOL_CONFIG_H
+#if !defined(_NETBSD_SOURCE) && HAVE_NBTOOL_CONFIG_H
 #include "nbtool_config.h"
 #endif
 



Home | Main Index | Thread Index | Old Index