Checking for 95 vs. NT at runtime

Bruce Edge bedge@sattel.com
Wed Dec 6 16:04:00 GMT 2000


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@sourceware.cygnus.com



More information about the Cygwin mailing list