Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/mdocml/dist Don't include nbtool_config.h too e...



details:   https://anonhg.NetBSD.org/src/rev/c4267fbb0412
branches:  trunk
changeset: 433690:c4267fbb0412
user:      uwe <uwe%NetBSD.org@localhost>
date:      Fri Sep 28 13:21:37 2018 +0000

description:
Don't include nbtool_config.h too early.  It pulls in system headers
and so #define _GNU_SOURCE afterwards doesn't have any effect on them.

PR bin/53634

diffstat:

 external/bsd/mdocml/dist/configure |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 0e8b7fbf7cd0 -r c4267fbb0412 external/bsd/mdocml/dist/configure
--- a/external/bsd/mdocml/dist/configure        Fri Sep 28 08:11:34 2018 +0000
+++ b/external/bsd/mdocml/dist/configure        Fri Sep 28 13:21:37 2018 +0000
@@ -387,14 +387,14 @@
 #define __attribute__(x)
 #endif
 
+#if defined(__linux__) || defined(__MINT__)
+#define _GNU_SOURCE    /* See test-*.c what needs this. */
+#endif
+
 #ifdef HAVE_NBTOOL_CONFIG_H
 #include "nbtool_config.h"
 #endif
 
-#if defined(__linux__) || defined(__MINT__)
-#define _GNU_SOURCE    /* See test-*.c what needs this. */
-#endif
-
 __HEREDOC__
 
 [ ${HAVE_GETLINE} -eq 0 -o \



Home | Main Index | Thread Index | Old Index