httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: length types
Date Tue, 23 Dec 1997 11:34:00 GMT
Alexei Kosut wrote:
> Not really. Exhibit A:
> 
> #ifdef SOME_OLD_OS
> typedef signed long int apache_offset
> #elif defined(SOME_NEW_OS)
> typedef off_t apache_offset
> #endif
> 
> Exhibit B:
> 
> #ifdef SOME_OLD_OS
> typedef signed long int off_t
> #endif
> 
> The latter looks simpler and shorter to me.

My vote goes for version B.

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author
A.L. Digital Ltd,     |http://www.algroup.co.uk/Apache-SSL
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache

Mime
View raw message