This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: How to detect win9 vs NT?
- To: N8TM at aol dot com
- Subject: Re: How to detect win9 vs NT?
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Sun, 16 Aug 1998 00:36:05 -0500 (CDT)
- Cc: gnu-win32 at cygnus dot com
On Fri, 14 Aug 1998 N8TM@aol.com wrote:
> Where do I look to see the approved cygwin32 method for an application to
> determine whether it's running under NT or 95? I'd like for libf2c at least
> to be aware so that, for instance, cpu_time() may be made to work under 9x.
> There may be others.
>
> Some of the functions which come with B19.1 are broken unnecessarily under
> 95, such as clock(). That would seem to be a close analogy with
> system_clock(), which works.
> -
Cygwin32 internally uses get_os_type(), but it's not exported. Can you put
together a list of routines that don't work and (hopefully) the corrected
version for W95? We have to deal with this at some point, and might as
well get started.
Whatever cygwin32 provides to check the platform, I'll provide an
equivalent one under mingw32 so that we can use the same workarounds
under both.
Regards,
Mumit
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".