This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Checking for 95 vs. NT at runtime
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