|
@@ -8,6 +8,8 @@ against uclibc. Patch originates from:
|
|
|
Signed-off-by: Daniel Price <daniel.price@gmail.com>
|
|
|
[Martin: adapt to 3.0.3]
|
|
|
Signed-off-by: Martin Bark <martin@barkynet.com>
|
|
|
+[Titouan: adapt to 5.0.4]
|
|
|
+Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
|
|
|
|
|
|
=========================================================================
|
|
|
diff -ur old/src/config.h new/src/config.h
|
|
@@ -17,7 +19,8 @@ diff -ur old/src/config.h new/src/config.h
|
|
|
#endif
|
|
|
|
|
|
/* Test for backtrace() */
|
|
|
--#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__))
|
|
|
-+#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__) && !defined(__UCLIBC__))
|
|
|
+-#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__)) || \
|
|
|
++#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__) && !defined(__UCLIBC__)) || \
|
|
|
+ defined(__FreeBSD__) || (defined(__OpenBSD__) && defined(USE_BACKTRACE))\
|
|
|
+ || defined(__DragonFly__)
|
|
|
#define HAVE_BACKTRACE 1
|
|
|
- #endif
|