delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/15/00:19:48

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <3806A713.AB39011F@eddieware.org>
Date: Fri, 15 Oct 1999 14:01:23 +1000
From: George Razbash <george AT eddieware DOT org>
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com, cygwin-developers AT sourceware DOT cygnus DOT com
CC: george AT eddieware DOT org
Subject: Win 2000

Hi everybody.
I would like to start small discussion on WIN2000 issues:
First simple question: How I would detect the OS variable WINVER to be
related to Win2000 (NT5.0)?
I guess underline question is which widows.h header Cygwin uses to find
define for WINVER?
I am asking this because of I want to use it for simple check like 
#ifdef (WINVER > 0x0400)
... // Win2000 code
#else
... // Win NT code
#endif
AND I do NOT want to check  the registry.
Currently it comes back as 0x0400 which describes WinNT.

Help and advise is required.

George (george AT eddieware DOT org)
P.S. If you only want 
Have a look what we are doing (http://wwweddie.eddieware.org/)
and give a comments talk AT eddieware 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019