delorie.com/archives/browse.cgi | search |
On Wed, Dec 06, 2000 at 04:03:58PM -0800, Bruce Edge wrote: >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. No, it isn't. I don't know why you would think that this is undefined but it is not. You do have to include the header file which defines it, though, which would probably be <windows.h>. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |