Source-Changes-HG archive

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

[src/trunk]: src/tools/compat If the internals are not explicitly requested, ...



details:   https://anonhg.NetBSD.org/src/rev/106c52ecc3d3
branches:  trunk
changeset: 333653:106c52ecc3d3
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Nov 12 15:08:52 2014 +0000

description:
If the internals are not explicitly requested, use #include_next to pick
up the system version. <locale> from libc++ requires this and is used by
src/tools/elftosb2.

diffstat:

 tools/compat/nl_types.h |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r 44c60c9fe599 -r 106c52ecc3d3 tools/compat/nl_types.h
--- a/tools/compat/nl_types.h   Wed Nov 12 13:24:34 2014 +0000
+++ b/tools/compat/nl_types.h   Wed Nov 12 15:08:52 2014 +0000
@@ -1,5 +1,7 @@
-/*     $NetBSD: nl_types.h,v 1.2 2014/02/27 01:07:52 matt Exp $        */
+/*     $NetBSD: nl_types.h,v 1.3 2014/11/12 15:08:52 joerg Exp $       */
 
-#if defined(_NLS_PRIVATE) || defined(__NetBSD__)
+#if defined(_NLS_PRIVATE)
 #include "../../include/nl_types.h"
+#elif defined(__GNUC__)
+#include_next <nl_types.h>
 #endif



Home | Main Index | Thread Index | Old Index