Mail Archives: cygwin-developers/1998/11/13/14:18:57
Hi,
As mentioned in `gnu-win32 AT cygnus DOT com', it's important
to have defines for `major', `minor' and `makedev' to
compile the package file-3.XX.
So it would be nice, to have the file `sys/sysmacros.h'
in the includes, as in Linux and others.
Regards,
Corinna
---- snip ----
#ifndef _SYS_SYSMACROS_H
#define _SYS_SYSMACROS_H
#define major(dev) (((unsigned) (dev))>>8)
#define minor(dev) ((dev)&0xff)
#define makedev(major,minor) (((major)<<8)|(minor))
#endif /* _SYS_SYSMACROS_H */
- Raw text -