aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/libunwind/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/libunwind/src/config.h')
-rw-r--r--contrib/llvm-project/libunwind/src/config.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/contrib/llvm-project/libunwind/src/config.h b/contrib/llvm-project/libunwind/src/config.h
index 560edda04eaa..5ae1604f657d 100644
--- a/contrib/llvm-project/libunwind/src/config.h
+++ b/contrib/llvm-project/libunwind/src/config.h
@@ -109,13 +109,10 @@
#define _LIBUNWIND_SUPPORT_FRAME_APIS
#endif
-#if defined(__i386__) || defined(__x86_64__) || \
- defined(__ppc__) || defined(__ppc64__) || defined(__powerpc64__) || \
- (!defined(__APPLE__) && defined(__arm__)) || \
- defined(__aarch64__) || \
- defined(__mips__) || \
- defined(__riscv) || \
- defined(__hexagon__)
+#if defined(__i386__) || defined(__x86_64__) || defined(__powerpc__) || \
+ (!defined(__APPLE__) && defined(__arm__)) || defined(__aarch64__) || \
+ defined(__mips__) || defined(__riscv) || defined(__hexagon__) || \
+ defined(__sparc__)
#if !defined(_LIBUNWIND_BUILD_SJLJ_APIS)
#define _LIBUNWIND_BUILD_ZERO_COST_APIS
#endif