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/ffe0066a497d
branches:  trunk
changeset: 992231:ffe0066a497d
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 44397863ac17 -r ffe0066a497d 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