Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sourceware.cygnus.com Delivered-To: mailing list cygwin@sourceware.cygnus.com Message-ID: <3820B6C0.B35DA670@eddieware.org> Date: Thu, 04 Nov 1999 09:27:12 +1100 From: George Razbash MIME-Version: 1.0 To: N8TM@aol.com CC: cygwin@sourceware.cygnus.com, cygwin-developers@sourceware.cygnus.com Subject: Re: Win 2000 References: <0.a37c5e6a.25380eda@aol.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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@aol.com wrote: > > In a message dated 10/14/99 9:50:10 PM Pacific Daylight Time, > george@eddieware.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@computer.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@sourceware.cygnus.com