diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/nios2/sys')
-rw-r--r-- | sysdeps/unix/sysv/linux/nios2/sys/ucontext.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/nios2/sys/ucontext.h b/sysdeps/unix/sysv/linux/nios2/sys/ucontext.h index 6701d7ed94..3b0a615abe 100644 --- a/sysdeps/unix/sysv/linux/nios2/sys/ucontext.h +++ b/sysdeps/unix/sysv/linux/nios2/sys/ucontext.h @@ -32,7 +32,9 @@ /* These definitions must be in sync with the kernel. */ -#define MCONTEXT_VERSION 2 +#ifdef __USE_MISC +# define MCONTEXT_VERSION 2 +#endif /* Context to describe whole processor state. */ typedef struct mcontext |