Source-Changes-HG archive

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

[src/netbsd-8]: src/external/gpl2/gmake/dist/glob Pull up following revision(...



details:   https://anonhg.NetBSD.org/src/rev/6c4bd91dc182
branches:  netbsd-8
changeset: 434926:6c4bd91dc182
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Apr 17 08:04:34 2018 +0000

description:
Pull up following revision(s) (requested by kamil in ticket #768):

        external/gpl2/gmake/dist/glob/glob.c: revision 1.4

According to:
    https://sourceforge.net/p/predef/wiki/Libraries/

The macro used for old glibc is __GNU_LIBRARY__ and the new one is
__GLIBC__.

Try to fix linux compilation by detecting both.

diffstat:

 external/gpl2/gmake/dist/glob/glob.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r ce756980e81a -r 6c4bd91dc182 external/gpl2/gmake/dist/glob/glob.c
--- a/external/gpl2/gmake/dist/glob/glob.c      Mon Apr 16 14:36:29 2018 +0000
+++ b/external/gpl2/gmake/dist/glob/glob.c      Tue Apr 17 08:04:34 2018 +0000
@@ -207,7 +207,7 @@
 #endif /* __GNU_LIBRARY__ */
 
 
-#if !defined __alloca && !defined __GNU_LIBRARY__
+#if !defined __alloca && !(defined __GNU_LIBRARY__ || defined __GLIBC__)
 
 # ifdef        __GNUC__
 #  undef alloca



Home | Main Index | Thread Index | Old Index