search for: __mi

Displaying 1 result from an estimated 1 matches for "__mi".

Did you mean: __i
2012 May 24
1
[klibc:master] sys/sysmacros.h: match glibc and define non-__ macros
...s.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/usr/include/sys/sysmacros.h b/usr/include/sys/sysmacros.h index c344339..4f0b12a 100644 --- a/usr/include/sys/sysmacros.h +++ b/usr/include/sys/sysmacros.h @@ -31,4 +31,8 @@ static __inline__ dev_t makedev(int __ma, int __mi) return __makedev(__ma, __mi); } +#define major(d) __major(d) +#define minor(d) __minor(d) +#define makedev(ma,mi) __makedev(ma,mi) + #endif /* _SYS_SYSMACROS_H */