Module Name:    src
Committed By:   kre
Date:           Mon Aug 20 10:24:17 UTC 2018

Modified Files:
        src/external/bsd/flex/dist/src: flexdef.h

Log Message:
PR toolchain/53511

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


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/flex/dist/src/flexdef.h

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

Modified files:

Index: src/external/bsd/flex/dist/src/flexdef.h
diff -u src/external/bsd/flex/dist/src/flexdef.h:1.4 src/external/bsd/flex/dist/src/flexdef.h:1.5
--- src/external/bsd/flex/dist/src/flexdef.h:1.4	Mon Aug 20 08:51:56 2018
+++ src/external/bsd/flex/dist/src/flexdef.h	Mon Aug 20 10:24:17 2018
@@ -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
 

Reply via email to