mirror of
https://github.com/fluencelabs/musl
synced 2025-06-30 07:02:41 +00:00
initial check-in, version 0.5.0
This commit is contained in:
7
include/bits/sysmacros.h
Normal file
7
include/bits/sysmacros.h
Normal file
@ -0,0 +1,7 @@
|
||||
#define major(x) (((x) >> 8) & 0xff)
|
||||
#define minor(x) ((x) & 0xff)
|
||||
#define makedev(x,y) (((x)<<8)|((y)&0xff))
|
||||
|
||||
//#define makedev(x,y) \
|
||||
// ((x)*0x100000001ULL)&(0xfffffffffff0)
|
||||
// ((y)*0x1001 & 0xffff0ff)
|
Reference in New Issue
Block a user