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 <[EMAIL PROTECTED]> http://www.xbc.nu/brane/





Reply via email to