提交 ff02f94e 编写于 作者: R Rich Felker

fix another mips gratuitous-incompatibility bug: ioctl numbers

上级 6ecff18c
#define _IOC(a,b,c,d) ( ((a)<<29) | ((b)<<8) | (c) | ((d)<<16) ) #define _IOC(a,b,c,d) ( ((a)<<29) | ((b)<<8) | (c) | ((d)<<16) )
#define _IOC_NONE 1U #define _IOC_NONE 1U
#define _IOC_WRITE 2U #define _IOC_READ 2U
#define _IOC_READ 4U #define _IOC_WRITE 4U
#define _IO(a,b) _IOC(_IOC_NONE,(a),(b),0) #define _IO(a,b) _IOC(_IOC_NONE,(a),(b),0)
#define _IOW(a,b,c) _IOC(1,(a),(b),sizeof(c)) #define _IOW(a,b,c) _IOC(1,(a),(b),sizeof(c))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册