mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
Fixed all the #if APR_HAS_SHARED_MEMORY checks within the LDAP
module code to follow APR. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90338 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -63,16 +63,12 @@
|
||||
/* this whole thing disappears if LDAP is not enabled */
|
||||
#ifdef APU_HAS_LDAP
|
||||
|
||||
/* FIXME */
|
||||
#define APU_HAS_LDAP_SHARED_CACHE
|
||||
|
||||
/*
|
||||
* LDAP Cache Manager
|
||||
*/
|
||||
|
||||
#ifdef APU_HAS_LDAP_SHARED_CACHE
|
||||
#include <apr_shmem.h>
|
||||
#endif
|
||||
|
||||
typedef struct util_cache_node_t {
|
||||
void *payload; /* Pointer to the payload */
|
||||
@@ -105,7 +101,7 @@ typedef struct util_ald_cache_t {
|
||||
unsigned long removes; /* Number of removes */
|
||||
} util_ald_cache_t;
|
||||
|
||||
#ifdef APU_HAS_LDAP_SHARED_CACHE
|
||||
#if APR_HAS_SHARED_MEMORY
|
||||
apr_shmem_t *util_ldap_shm;
|
||||
#endif
|
||||
util_ald_cache_t *util_ldap_cache;
|
||||
|
Reference in New Issue
Block a user