Message-Id: <2.2.32.19961223081104.008ef9d4@mail.calypso.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 23 Dec 1996 09:11:04 +0100 To: Eli Zaretskii From: Henrik Abelsson Subject: Re: SV: djgpp + allegro + win NT? Cc: Shawn Hargreaves , Jan Hubicka , djgpp AT delorie DOT com At 19:09 1996-12-22 +0200, you wrote: > >On Fri, 20 Dec 1996, Shawn Hargreaves wrote: > >> Does anyone know any other ways to detect Windows/NT? > >One way to do that would be like so: > > #include > > if (_get_dos_version (1) == 0x0532) > /* we run in NT DOS box */ > else > /* some other environment */ > This works under NT 4.0 - Henrik