[quake3] Hoorj!
Ludwig Nussel
ludwig.nussel at suse.de
Sun Sep 4 13:06:06 EDT 2005
Ryan C. Gordon wrote:
> (btw, "inline" is valid in C++ and the C99 spec for regular C. __inline
> is not valid C in any spec...the underscores sort of unofficially alert
> you that it's an extension, even though gcc and VS.NET both support it.
> If you find a compiler that doesn't, a simple:
>
> #define __inline
>
> Will make that code compile with more or less the same results.)
There already is a macro ID_INLINE in q_shared.h. It expands to
__inline for VC, static for lcc and inline for gcc.
cu
Ludwig
--
(o_ Ludwig Nussel
//\ SUSE LINUX Products GmbH, Development
V_/_ http://www.suse.de/
More information about the quake3
mailing list