Subject: Checking for 95 vs. NT at runtime
From: Bruce Edge <[email-masked]>
To: cygwin support <[email-masked]>
Date: Wed, 06 Dec 2000 16:03:58 -0800

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 [email-masked]