Source-Changes-HG archive

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

src: According to:



details:   https://anonhg.NetBSD.org/src/rev/ec3b91078f31
branches:  trunk
changeset: 318252:ec3b91078f31
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 16 16:11:40 2018 +0000
description:
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 f8843b024b8a -r ec3b91078f31 external/gpl2/gmake/dist/glob/glob.c
--- a/external/gpl2/gmake/dist/glob/glob.c      Mon Apr 16 16:02:57 2018 +0000
+++ b/external/gpl2/gmake/dist/glob/glob.c      Mon Apr 16 16:11:40 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