Re: sysmacros.h

2009-08-06 Thread Corinna Vinschen
On Aug 6 14:40, Csaba Raduly wrote: > Corinna Vinschen wrote: > > Same as on Linux. > > Yes, but on Linux, sysmacros.h contains more than just minor, major and > makedev. > > > Also, on the Linuxes I checked (RHEL 4, Ubuntu 8.10, SLES 10.2, SUSE > 10.0, SLES

Re: sysmacros.h

2009-08-06 Thread Csaba Raduly
Corinna Vinschen wrote: > Same as on Linux. Yes, but on Linux, sysmacros.h contains more than just minor, major and makedev. Also, on the Linuxes I checked (RHEL 4, Ubuntu 8.10, SLES 10.2, SUSE 10.0, SLES 9), it is guarded by a #ifdef: #ifdef __USE_BSD /* In BSD is expected to def

Re: sysmacros.h

2009-08-06 Thread Corinna Vinschen
On Aug 6 12:40, Csaba Raduly wrote: > Why does /usr/include/cygwin/types.h include /usr/include/sys/sysmacros.h ? Same as on Linux. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red

sysmacros.h

2009-08-06 Thread Csaba Raduly
Why does /usr/include/cygwin/types.h include /usr/include/sys/sysmacros.h ? As far as I {and find /usr/include/ /usr/local/include/ -name *.h | xargs egrep -n '\b(major|minor) *\(' } can see, the "major" and "minor" macros are not used by any system header. These