You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Tony Sanders <sa...@bsdi.com> on 1996/04/25 18:11:00 UTC

Re: API version #define

sameer@c2.org writes:
> > #define APACHE_NEWAPI 1
> 
> 	Uh, let's make this real and do something like
> 
> #define APACHE_API	1.1

You cannot do numeric comparisons with ``1.1''.  You'll be much
happier in the long run if you use something like:

#define APACHE_API 19960400

That is a datecode and serial number (like you do with DNS serial numbers).

Or at least use an integer serial number.

#define APACHE_API 1
#define APACHE_API 2