delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/06/19:06:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A2ED3EE.5E8243A4@sattel.com>
Date: Wed, 06 Dec 2000 16:03:58 -0800
From: Bruce Edge <bedge AT sattel DOT com>
Organization: Sattel Global Networks
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.15-4mdk i686)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin support <cygwin AT sources DOT redhat DOT com>
Subject: Checking for 95 vs. NT at runtime
References: <4 DOT 3 DOT 1 DOT 2 DOT 20001206142217 DOT 02101860 AT pop DOT ma DOT ultranet DOT com>
<3A2E8EBA DOT 5EEB6BA3 AT sattel DOT com>
<4 DOT 3 DOT 1 DOT 2 DOT 20001206142217 DOT 02101860 AT pop DOT ma DOT ultranet DOT com> <4 DOT 3 DOT 1 DOT 2 DOT 20001206143908 DOT 02110758 AT pop DOT ma DOT ultranet DOT com>

Can you tell from the cygwin API whether you're running under NT or 95?

I saw the thread that contained:

  if (! is_winnt)
    {
      ...your w9x specific code...
    }

The definition of is_winnt is used eg. in `cygwin_utils.c':

#define is_winnt       (GetVersion() < 0x80000000)

but GetVersion is undefined.

Thanks, Bruce.

--
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