On Mon, 28 Feb 2005 07:07:15 -0500 (EST), Earnie Boyd
<[EMAIL PROTECTED]> wrote:

> > Well, yes, but how does one look at the Windows version? :-).
> >
> 
> The basename value of the COMSPEC variable should be enough; if == cmd.exe
> then NT else DOS.  You might wish a command line switch for those who've
> replaced their windows shell with something else and have changed the
> COMSPEC value; E.G. -O [DOS|NT].

The environment variable:

  OS=Windows_NT

is what you're looking for.

-- Barry


_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32

Reply via email to