summaryrefslogtreecommitdiff
path: root/app-emulation/wine-proton/files/wine-proton-7.0.4-llvm-libunwind.patch
blob: 0086fa5e035388e975dfab7a8d07f73679f04846 (plain)
1
2
3
4
5
6
7
8
9
Note the dodgy _CONFIG_H_ check can be removed when >=llvm-libunwind-15
(which adds _VERSION) is well established: https://reviews.llvm.org/D121015
--- a/dlls/ntdll/unix/signal_x86_64.c
+++ b/dlls/ntdll/unix/signal_x86_64.c
@@ -1370,3 +1370,3 @@
 
-#ifdef __APPLE__
+#if defined(__APPLE__) || defined(_LIBUNWIND_VERSION) || defined(____LIBUNWIND_CONFIG_H__)
     rc = unw_getcontext( &unw_context );