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.
This commit is contained in:
parent
b91714d723
commit
4f1477379d
|
@ -207,7 +207,7 @@ my_realloc (p, n)
|
|||
#endif /* __GNU_LIBRARY__ */
|
||||
|
||||
|
||||
#if !defined __alloca && !defined __GNU_LIBRARY__
|
||||
#if !defined __alloca && !(defined __GNU_LIBRARY__ || defined __GLIBC__)
|
||||
|
||||
# ifdef __GNUC__
|
||||
# undef alloca
|
||||
|
|
Loading…
Reference in New Issue