runtime: fix libunwind to compatible with homebrew linux

This commit is contained in:
Li Jie
2025-03-04 09:58:21 +08:00
parent d483b13107
commit 52a77f9efb
4 changed files with 8 additions and 4 deletions

View File

@@ -1,6 +1,8 @@
#if defined(__linux__)
#define UNW_LOCAL_ONLY
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <features.h>
#endif