httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: OS abstraction
Date Fri, 12 Sep 1997 17:02:29 GMT
Paul Sutton wrote:
> 
> On Fri, 12 Sep 1997, Ben Laurie wrote:
> > Paul Sutton wrote:
> > > enable -> enabled. I.e. Win32 could use inlining 'cos MSVC supports it,
> > > but I didn't do this because I, er, didn't.
> >
> > OK, but what does this bit mean: 'it just doesn't support "inline"
> > except for C++ source'?
> 
> MSVC++ supports the "inline" modifier in .cpp source files only.
> For .c files you have to use "__inline". That is why the "inline"
> is in quotes. It is a reminder (to me) to use __inline instead for
> any inlines on Win32.

Ah! I understand. It even makes sense (inline is a standard C++ keyword,
__inline is a vendor-specific extension to C).

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 994 6435|Apache Group member
Freelance Consultant  |Fax:   +44 (181) 994 6472|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