Browse Source

Disable non-existing macOS include

thegeorg 1 year ago
parent
commit
195c7fdce1
2 changed files with 2 additions and 2 deletions
  1. 1 1
      contrib/libs/libunwind/src/Unwind-sjlj.c
  2. 1 1
      contrib/libs/libunwind/ya.make

+ 1 - 1
contrib/libs/libunwind/src/Unwind-sjlj.c

@@ -77,7 +77,7 @@ struct _Unwind_FunctionContext {
 #if !defined(FOR_DYLD)
 
 #if defined(__APPLE__)
-#include <System/pthread_machdep.h>
+#error #include <System/pthread_machdep.h>
 #else
 static _LIBUNWIND_THREAD_LOCAL struct _Unwind_FunctionContext *stack = NULL;
 #endif

+ 1 - 1
contrib/libs/libunwind/ya.make

@@ -1,4 +1,4 @@
-# Generated by devtools/yamaker from nixpkgs 22.05.
+# Generated by devtools/yamaker from nixpkgs 22.11.
 
 LIBRARY()