31 lines
869 B
Diff
31 lines
869 B
Diff
|
From e651ac5febc59e3e2b5d3365ededbe5362756da2 Mon Sep 17 00:00:00 2001
|
||
|
From: Koen Martens <gmc@sonologic.nl>
|
||
|
Date: Wed, 12 Jul 2017 18:49:32 +0200
|
||
|
Subject: [PATCH] Do not use execinfo.h with uclibc (#511)
|
||
|
|
||
|
Upstream commit: https://github.com/capnproto/capnproto/commit/e651ac5febc59e3e2b5d3365ededbe5362756da2
|
||
|
|
||
|
Signed-off-by: Koen Martens <gmc@sonologic.nl>
|
||
|
Signed-off-by: Joel Carlson <JoelsonCarl@gmail.com>
|
||
|
|
||
|
---
|
||
|
c++/src/kj/exception.c++ | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/c++/src/kj/exception.c++ b/c++/src/kj/exception.c++
|
||
|
index 218f1db..339601a 100644
|
||
|
--- a/c++/src/kj/exception.c++
|
||
|
+++ b/c++/src/kj/exception.c++
|
||
|
@@ -33,7 +33,7 @@
|
||
|
#endif
|
||
|
#include "io.h"
|
||
|
|
||
|
-#if (__linux__ && __GLIBC__) || __APPLE__
|
||
|
+#if (__linux__ && __GLIBC__ && !__UCLIBC__) || __APPLE__
|
||
|
#define KJ_HAS_BACKTRACE 1
|
||
|
#include <execinfo.h>
|
||
|
#endif
|
||
|
--
|
||
|
2.7.4
|
||
|
|