mirror of
https://github.com/fluencelabs/musl
synced 2025-07-31 22:31:58 +00:00
fix sigset macro for 64-bit systems (<< was overflowing due to wrong type)
This commit is contained in:
@@ -82,7 +82,7 @@ struct __timer {
|
||||
#define SIGSYSCALL 34
|
||||
|
||||
#define SIGPT_SET ((sigset_t *)(unsigned long [1+(sizeof(long)==4)]){ \
|
||||
[sizeof(long)==4] = 3<<(32*(sizeof(long)>4)) })
|
||||
[sizeof(long)==4] = 3UL<<(32*(sizeof(long)>4)) })
|
||||
#define SIGTIMER_SET ((sigset_t *)(unsigned long [1+(sizeof(long)==4)]){ \
|
||||
0x80000000 })
|
||||
|
||||
|
Reference in New Issue
Block a user