libc: update to upstream master.
This commit is contained in:
parent
1e76ce25d5
commit
6080bb6ef2
19 changed files with 281 additions and 24 deletions
|
|
@ -385,6 +385,15 @@ _BEGIN_STD_C
|
|||
#define _JBLEN 12
|
||||
#endif
|
||||
|
||||
#ifdef __riscv
|
||||
#define _JBTYPE long
|
||||
#ifdef __riscv_32e
|
||||
#define _JBLEN ((4*sizeof(long))/sizeof(long))
|
||||
#else
|
||||
#define _JBLEN ((14*sizeof(long) + 12*sizeof(double))/sizeof(long))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef _JBLEN
|
||||
#ifdef _JBTYPE
|
||||
typedef _JBTYPE jmp_buf[_JBLEN];
|
||||
|
|
@ -395,7 +404,7 @@ typedef int jmp_buf[_JBLEN];
|
|||
|
||||
_END_STD_C
|
||||
|
||||
#if defined(__CYGWIN__) || defined(__rtems__)
|
||||
#if (defined(__CYGWIN__) || defined(__rtems__)) && __POSIX_VISIBLE
|
||||
#include <signal.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
@ -477,4 +486,4 @@ extern int _setjmp (jmp_buf);
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* __CYGWIN__ or __rtems__ */
|
||||
#endif /* (__CYGWIN__ or __rtems__) and __POSIX_VISIBLE */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue