提交 90e123f4 编写于 作者: R Rich Felker

fix redef of sigprocmask constants on mips

this fix is easier than trying to reorder the header stuff
上级 a1546e8d
......@@ -27,6 +27,9 @@ typedef struct __ucontext {
#define SA_RESETHAND 0x80000000
#define SA_RESTORER 0x04000000
#undef SIG_BLOCK
#undef SIG_UNBLOCK
#undef SIG_SETMASK
#define SIG_BLOCK 1
#define SIG_UNBLOCK 2
#define SIG_SETMASK 3
......
......@@ -28,11 +28,9 @@ extern "C" {
#define SIG_HOLD ((void (*)(int)) 2)
#ifndef SIG_BLOCK
#define SIG_BLOCK 0
#define SIG_UNBLOCK 1
#define SIG_SETMASK 2
#endif
#define SI_ASYNCNL (-60)
#define SI_TKILL (-6)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册