This is the mail archive of the
mailing list for the Cygwin project.
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:
/* In BSD <sys/types.h> is expected to define BYTE_ORDER. */
# include <endian.h>
/* It also defines `fd_set' and the FD_* macros for `select'. */
# include <sys/select.h>
/* BSD defines these symbols, so we follow. */
# include <sys/sysmacros.h>
#endif /* Use BSD. */
__USE_BSD is defined only if _BSD_SOURCE is defined. Perhaps Cygwin
could follow suit here too.
Life is complex, with real and imaginary parts
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple