Justin Erenkrantz wrote:

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


NT doesn't have shared memory implmented.




Reply via email to