This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: Add FILE_FLAG_FIRST_PIPE_INSTANCE to <w32api/winbase.h>
- From: "Conrad Scott" <Conrad dot Scott at dsl dot pipex dot com>
- To: "Earnie Boyd" <Cygwin-Patches at Cygwin dot Com>
- Cc: <cygwin-patches at cygwin dot com>
- Date: Sat, 22 Jun 2002 00:20:06 +0100
- Subject: Re: Add FILE_FLAG_FIRST_PIPE_INSTANCE to <w32api/winbase.h>
- References: <03bf01c2191a$af67ba50$6132bc3e@BABEL> <3D1317FE.EBB92CF3@yahoo.com>
"Earnie Boyd" <earnie_boyd@yahoo.com> wrote:
> MSDN says that this is Win2000 SP2 and XP only. So you need to
guard it
> with the appropriate WINVER constant.
Sorry about my earlier querulous email: I was blissfully ignorant of
the whole WINVER system.
My problem now is to choose a relevant version number to check
against. As far as I can dig out of MSDN, win2k has _WIN32_WINNT set
to 0x0500 and XP has it set to 0x0501. So, unlike some earlier
systems, there's no space for extra version numbers for service pack
releases.
So, to guard a define that's only available in win2k SP2 and in XP,
which value should I use? (win2k or XP?) or is there some other value
that is available now for service pack version information?
// Conrad