This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add FILE_FLAG_FIRST_PIPE_INSTANCE to <w32api/winbase.h>


"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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]