apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko ─îibej <br...@xbc.nu>
Subject Re: cvs commit: apr/memory/unix apr_pools.c
Date Sat, 26 Jan 2002 04:31:54 GMT
Greg Stein wrote:

>>...
>>  +#if defined(APR_POOL_DEBUG)
>>  +#    if (APR_POOL_DEBUG != 0) && (APR_POOL_DEBUG - 0 == 0)
>>  +#        undef APR_POOL_DEBUG
>>  +#        define APR_POOL_DEBUG 1
>>  +#    endif
>>  +#    if APR_POOL_DEBUG == 0
>>  +#        undef APR_POOL_DEBUG
>>  +#        define APR_POOL_DEBUG 1
>>  +#    endif
>>  +#else
>>  +#    define APR_POOL_DEBUG 0
>>  +#endif
>>
>
>I do not believe that spaces between the '#' and the directive is portable.
>
It should be. I have never seen a compiler that doesn't understand this 
-- including the infamous hpux bundled compiler. All ANSI C compilers 
should definitely handle this without problems.


-- 
Brane ─îibej   <brane@xbc.nu>   http://www.xbc.nu/brane/




Mime
View raw message