Cliff Woolley wrote: >On Tue, 8 Jul 2003, [UTF-8] Branko ?^Libej wrote: > > > >>on those defines, giving utimes (which has the more precise interface) >>priority; e.g., >> >> #if HAVE_UTIMES >> ...use utimes... >> #elif HAVE_UTIME >> >> > >IIRC, that should be: > >#ifdef HAVE_UTIMES >...use utimes... >#elif defined(HAVE_UTIME) > >It would be #if if it were an APR_HAVE_ macro, which are defined always >but have a value of zero or one depending. The ones that comes straight >out of autoconf are either defined or not. > And a symbol that's not defined is treated as if it were zero by the C preprocessor. So it comes to the same thing in the end. :-)
-- Brane Äibej <[EMAIL PROTECTED]> http://www.xbc.nu/brane/
