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: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com