Mail Archives: cygwin/1999/11/03/18:29:05
Thank YOU, Tim.
I am a bit late with answer. Still did not find the appropriate way to go
with #define variable, So went as the basic:
1. Introduced the new variable (Global, structure, or pass around parameter
does not matter).
2. And used Windows API function GetVersion to fill it in.
Cheers,
George
N8TM AT aol DOT com wrote:
>
> In a message dated 10/14/99 9:50:10 PM Pacific Daylight Time,
> george AT eddieware DOT org writes:
>
> > How I would detect the OS variable WINVER to be
> > related to Win2000 (NT5.0)
> Yes, at least in beta 3, it identifies itself as nt5. The only place I know
> where the gcc compiler distribution checks Windows versions is in libU77,
> where NT5 is treated the same as NT4. AFAIK cygwin also treats NT5 the same
> as NT4 but it doesn't exhibit all the NT4 bugs when running under W2K. It
> beats me how you could make a program more portable by distinguishing between
> them.
>
> Tim
> tprince AT computer DOT org
--
*************** Internet Email Confidentiality Footer ******************
Privileged/Confidential Information may be contained in this message. If
you are not the intended addressee(s) indicated in this message
(or responsible for delivery of the message to such person), you may NOT
read, save, copy, disclose, forward or deliver this message or parts of
it to anyone. In such case, you should destroy this message, and notify
myself immediately. If you or your employer does not consent to Internet
email messages of this kind, please advise myself immediately. Opinions,
conclusions and other information expressed in this message are not
given or endorsed by my firm or employer unless otherwise indicated by
an authorized representative independent of this message.
If this email has been sent to you in error, please delete this email
and any copies or links to this email completely and immediately from
your system.
====================== END FORWARDED MESSAGE ==========================
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -