This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: [Fwd: Macros "major" and "minor"]
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: cygwin-developers at cygwin dot com
- Date: Tue, 15 Jun 2004 16:00:41 +0200
- Subject: Re: [Fwd: Macros "major" and "minor"]
- References: <20040615134708.GQ1365@cygbert.vinschen.de>
- Reply-to: cygwin-developers at cygwin dot com
On Jun 15 15:47, Corinna Vinschen wrote:
> So I was wondering why sys/sysmacros.h is included in cygwin/types.h
> at all. I found no reason. Even Cygwin builds without it.
>
> If nobody has a good reson to keep sys/sysmacros.h included in
> cygwin/types.h, I'll remove the #include soon.
Oops, scratch that. I just tested that on Linux and in the default
case, major/minor and makedev are defined because __USE_BSD is defined.
So it's apparently not wrong to define these macros through inclusion
of sys/types.h, even though they are not even mentioned in SUSv3, AFAICS.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Co-Project Leader mailto:cygwin@cygwin.com
Red Hat, Inc.