Author: Schrodinger ZHU Yifan Date: 2025-04-29T08:55:01-04:00 New Revision: 277eb688831bf203f32602ca783af044874c5470
URL: https://github.com/llvm/llvm-project/commit/277eb688831bf203f32602ca783af044874c5470 DIFF: https://github.com/llvm/llvm-project/commit/277eb688831bf203f32602ca783af044874c5470.diff LOG: Update libc/include/llvm-libc-types/jmp_buf.h Co-authored-by: Petr Hosek <pho...@google.com> Added: Modified: libc/include/llvm-libc-types/jmp_buf.h Removed: ################################################################################ diff --git a/libc/include/llvm-libc-types/jmp_buf.h b/libc/include/llvm-libc-types/jmp_buf.h index 90bd60d741293..d1a13a353d17c 100644 --- a/libc/include/llvm-libc-types/jmp_buf.h +++ b/libc/include/llvm-libc-types/jmp_buf.h @@ -11,9 +11,11 @@ // TODO: implement sigjmp_buf related functions for other architectures // Issue: https://github.com/llvm/llvm-project/issues/136358 -#if defined(__linux__) && (defined(__i386__) || defined(__x86_64__)) +#if defined(__linux__) +#if defined(__i386__) || defined(__x86_64__) #define __LIBC_HAS_SIGJMP_BUF #endif +#endif #if defined(__LIBC_HAS_SIGJMP_BUF) #include "sigset_t.h" _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits