From: corinna DOT vinschen AT cityweb DOT de (Corinna Vinschen) Subject: New file `sysmacros.h' 13 Nov 1998 14:18:57 -0800 Message-ID: <364C9A40.C8C14458.cygnus.cygwin32.developers@cityweb.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: cygwin32-developers AT cygnus DOT com 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 */