aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/numpy/py3/patches/14-libunwind.h.patch
blob: 85b0f871ae0b28a2100c7c4bc9b07bb7e8e18ace (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- contrib/python/numpy/py3/numpy/core/src/multiarray/temp_elide.c	(index)
+++ contrib/python/numpy/py3/numpy/core/src/multiarray/temp_elide.c	(working tree)
@@ -86,7 +86,7 @@
 #if defined HAVE_EXECINFO_H
 #include <execinfo.h>
 #elif defined HAVE_LIBUNWIND_H
-#include <libunwind.h>
+#error #include <libunwind.h>
 #endif
 
 /*
--- contrib/python/numpy/py3/numpy/linalg/umath_linalg.cpp	(index)
+++ contrib/python/numpy/py3/numpy/linalg/umath_linalg.cpp	(working tree)
@@ -54,7 +54,7 @@ using dispatch_scalar = typename std::conditional<std::is_scalar<typ>::value, sc
 #if defined HAVE_EXECINFO_H
 #include <execinfo.h>
 #elif defined HAVE_LIBUNWIND_H
-#include <libunwind.h>
+#error #include <libunwind.h>
 #endif
 void
 dbg_stack_trace()