apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@covalent.net>
Subject Re: cvs commit: apr-util/buckets apr_buckets_file.c
Date Wed, 28 Nov 2001 00:22:17 GMT
On Tue, 27 Nov 2001, Cliff Woolley wrote:
 
> +1 on concept, but if you're going to do this, the things need APR_
> namespace protection.

ok, wasn't sure if those values might already be defined in a system
header file.  if so, then i'll change to:

#ifdef MMAP_THXéRĉOLD
#  define APR_MMAP_THRESHOLD MMAP_THRESHOLD
#else
#  ifdef SUNOS4
#    define APR_MMAP_THRESHOLD                (8*1024)
#  else
#    define APR_MMAP_THRESHOLD                1
#  endif /* SUNOS4 */
#endif /* MMAP_THRESHOLD */

otherwise, i'll just prefix them all with APR_.  lemme know which.




Mime
View raw message