apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@ebuilt.com>
Subject Re: apr_shmem - is it available on all platforms?
Date Sat, 18 Aug 2001 19:36:43 GMT
On Sat, Aug 18, 2001 at 07:30:54PM +0200, Graham Leggett wrote:
> Hi all,
> Is the shared memory stuff in APR available on all platforms?
> I would like to remove a whole lot of #ifdef's from the LDAP code that
> either include or ignore shared memory - should I just remove them, or
> should there be some kind of compile check for them? Is there a runtime
> check for shared memory support?

You can check APR_HAS_SHARED_MEMORY in apr.h.  It is possible for 
APR_HAS_SHARED_MEMORY to be 0.  So, technically, you can have an APR 
that doesn't have shmem.  HTH.  -- justin

View raw message