Re: WIN32 GetOSVersion patch

From: Robert Collins <robert.collins@dont-contact.us>
Date: Sun, 21 Oct 2001 18:10:00 +1000

----- Original Message -----
From: "Guido Serassio" <serassio@libero.it>
To: "Robert Collins" <robert.collins@itdomain.com.au>
Cc: <squid-dev@squid-cache.org>
Sent: Sunday, October 21, 2001 6:03 PM
Subject: Re: WIN32 GetOSVersion patch

> Hi Robert,
>
> Il 09.20 21/10/2001 Robert Collins ha scritto:
> >----- Original Message -----
> >From: "Guido Serassio" <serassio@libero.it>
> >To: <squid-dev@squid-cache.org>
> >Sent: Sunday, October 21, 2001 2:27 AM
> >Subject: WIN32 GetOSVersion patch
> >
> >
> > > Hi,
> > >
> > > This is the first WIN32 patch against HEAD.
> > >
> > > This code add support for Windows Me and a better GetOSVersion
> >function.
> > >
> > > Anybody can merge this in HEAD ?
> > >
> > > Guido
> >
> >Would it make sense to ENUM the _WIN_OS_WIN32S etc defines? I say
this
> >because you're apparently able to renumber them...
>
> When I write the first version of GetOSVersion, I forgot Windows Me,
so now
> I have inserted it renumbering all the NT family defines. I the
future,
> because Microsoft has stopped all the 9x development, we will have
only to
> add new NT family Windows, without the need of any other defines
> renumbering (I hope ...).
>
> Guido

Sure. The point is that the defines are being used to enumerate the OS
family. Therefore, we should use an enum rather than defines.

Rob
Received on Sun Oct 21 2001 - 02:06:40 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:34 MST