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: Earnie Boyd <earnie_boyd at yahoo dot com>
- To: Conrad Scott <Conrad dot Scott at dsl dot pipex dot com>, Earnie Boyd <Cygwin-Patches at Cygwin dot Com>
- Cc: cygwin-patches at cygwin dot com
- Date: Sat, 22 Jun 2002 08:03:21 -0700 (PDT)
- Subject: Re: Add FILE_FLAG_FIRST_PIPE_INSTANCE to <w32api/winbase.h>
I would use >= 0x0500
Earnie.
--- Conrad Scott <Conrad.Scott@dsl.pipex.com> wrote:
> "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
>
>
>
=====
Earnie Boyd
mailto:earnie_boyd@yahoo.com
--- <http://earniesystems.safeshopper.com> ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
--- Minimalist GNU for Windows <http://www.mingw.org/> ---
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com