summaryrefslogtreecommitdiff
path: root/patches/gcc/4.1.2/140-missing-execinfo_h.patch
blob: a1bfddb2a41dfd6232cfb64de47679577801e910 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- gcc-4.1.2.orig/boehm-gc/include/gc.h	2005-01-02 04:35:57.000000000 +0100
+++ gcc-4.1.2/boehm-gc/include/gc.h	2007-03-04 23:33:07.000000000 +0100
@@ -500,7 +500,7 @@
 #ifdef __linux__
 # 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