openwrtv3/toolchain/gcc/patches/4.5.0/301-missing-execinfo_h.patch
Alexandros C. Couloumbis 6d59a298e8 add gcc-4.5.0 preliminary support
SVN-Revision: 21033
2010-04-19 15:43:08 +00:00

11 lines
381 B
Diff

--- a/boehm-gc/include/gc.h
+++ b/boehm-gc/include/gc.h
@@ -503,7 +503,7 @@
#if defined(__linux__) || defined(__GLIBC__)
# include <features.h>
# if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \
- && !defined(__ia64__)
+ && !defined(__ia64__) && !defined(__UCLIBC__)
# ifndef GC_HAVE_BUILTIN_BACKTRACE
# define GC_HAVE_BUILTIN_BACKTRACE
# endif