[llvm-branch-commits] [libc] 3591028 - [libc] more amendments

Schrodinger ZHU Yifan via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Apr 24 13:22:21 PDT 2025


Author: Schrodinger ZHU Yifan
Date: 2025-04-24T16:21:47-04:00
New Revision: 3591028462d189befbe038e7a87bd9a08da7b26e

URL: https://github.com/llvm/llvm-project/commit/3591028462d189befbe038e7a87bd9a08da7b26e
DIFF: https://github.com/llvm/llvm-project/commit/3591028462d189befbe038e7a87bd9a08da7b26e.diff

LOG: [libc] more amendments

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 1e7791610857d..a6638b222138a 100644
--- a/libc/include/llvm-libc-types/jmp_buf.h
+++ b/libc/include/llvm-libc-types/jmp_buf.h
@@ -9,7 +9,9 @@
 #ifndef LLVM_LIBC_TYPES_JMP_BUF_H
 #define LLVM_LIBC_TYPES_JMP_BUF_H
 
+#if defined(__i386__) || defined(__x86_64__)
 #include "sigset_t.h"
+#endif
 
 typedef struct {
 #ifdef __x86_64__


        


More information about the llvm-branch-commits mailing list