apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject Re: setting timestamps
Date Tue, 08 Jul 2003 08:31:16 GMT
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:

...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.

You also have to edit include/arch/unix/apr_private.h.in and add a set of
lines like:

/* define this if your system has the utimes() function */

/* define this if your system has the utime() function */


View raw message