RE: How do you tell if your source tree is be built u- sing WinXp or Win2k

Don,

you’re right. I meant following:

LATEST_WIN32_WINNT_VERSION=0x0501

!ifndef WIN32_WINNT_VERSION
WIN32_WINNT_VERSION=$(LATEST_WIN32_WINNT_VERSION)
!endif

…and wrote something else. Sorry for a confusion.

Best regards,

Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]


From: Don Burn[SMTP:xxxxx@acm.org]
Reply To: NT Developers Interest List
Sent: Wednesday, June 27, 2001 3:32 PM
To: NT Developers Interest List
Subject: [ntdev] RE: How do you tell if your source tree is be built
using WinXp or Win2k

I think Michael meant to use WIN32_WINNT_VERSION
which is defined in makefile.def.

Don Burn
Windows 2000 Device Driver and Filesystem consulting

----- Original Message -----
From: “Joe Moriarty”
> To: “NT Developers Interest List”
> Sent: Wednesday, June 27, 2001 9:08 AM
> Subject: [ntdev] RE: How do you tell if your source tree is be built using
> WinXp or Win2k
>
>
> > Michal,
> >
> > WinXp Beta 2 _WIN32_WINNT = 0x500 winresrc.h
> > Win2k _WIN32_WINNT = 0x500 winresrc.h
> >
> > This looks like the same version to me. Also, their is no environment
> > variable setup to use this define. I don’t see how this would work in
> the
> > sources file. Help me see the light.
> >
> > Thanks,
> > Joe
> >
> > > -----Original Message-----
> > > From: xxxxx@lists.osr.com
> > > [mailto:xxxxx@lists.osr.com]On Behalf Of Michal Vodicka
> > > Sent: Tuesday, June 26, 2001 4:06 PM
> > > To: NT Developers Interest List
> > > Subject: [ntdev] RE: How do you tell if your source tree is be built
> > > using WinXp or Win2k
> > >
> > >
> > > Maybe
> > >
> > > #if (_WIN32_WINNT >= 0x501)
> > > // XP
> > > #endif
> > >
> > > and similarly in SOURCES?
> > >
> > > Best regards,
> > >
> > > Michal Vodicka
> > > Veridicom
> > > (RKK - Skytale)
> > > [WWW: http://www.veridicom.com , http://www.skytale.com]
> > >
> > >
> > >
> > > > ----------
> > > > From: Joe Moriarty[SMTP:xxxxx@east.sun.com]
> > > > Reply To: NT Developers Interest List
> > > > Sent: Tuesday, June 26, 2001 9:10 PM
> > > > To: NT Developers Interest List
> > > > Subject: [ntdev] How do you tell if your source tree is be built
> > > > using WinXp or Win2k
> > > >
> > > > I need something that works in sources files as well as .c
> > > files to use to
> > > > determine if the code is compiled using Win2k or WinXp. I was
> hoping
> > > > something in the environment variables was setup to determine
> > > between the
> > > > two build processes, but nothing is sticking out at me at how this
> is
> > > > done.
> > > > I know someone has to be doing this.
> > > >
> > > > Thanks In Advance,
> > > > Joe
> > > >
> > > >
> > > > —
> > > > You are currently subscribed to ntdev as: xxxxx@rkk.cz
> > > > To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> > > >
> > >
> > > —
> > > You are currently subscribed to ntdev as: xxxxx@east.sun.com
> > > To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> > >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@acm.org
> > To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@rkk.cz
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com