Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl2/gmake/dist/glob According to:
details: https://anonhg.NetBSD.org/src/rev/cfa70e1c094f
branches: trunk
changeset: 361186:cfa70e1c094f
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 ad7b958ba833 -r cfa70e1c094f 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