mirror of
https://github.com/fluencelabs/musl
synced 2025-07-30 22:01:57 +00:00
fixup mcontext stuff to expost gregset_t/fpregset_t as appropriate
This commit is contained in:
@@ -8,8 +8,8 @@ extern "C" {
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
#ifdef _GNU_SOURCE
|
||||
#define ucontext __ucontext
|
||||
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
||||
#define NGREG (sizeof(gregset_t)/sizeof(greg_t))
|
||||
#endif
|
||||
|
||||
struct __ucontext;
|
||||
|
Reference in New Issue
Block a user