summaryrefslogtreecommitdiffstats
path: root/modules/cache/mod_socache_dbm.c
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2011-11-30 18:16:09 +0100
committerGuenter Knauf <fuankg@apache.org>2011-11-30 18:16:09 +0100
commit862faade75d4e5e7c4ee86dbd45d72f168c84b13 (patch)
treedcb0b91422a97f0f95049855574b3f845b4eb93e /modules/cache/mod_socache_dbm.c
parentmod_session_crypto: Add a SessionCryptoPassphraseFile directive so that the (diff)
downloadapache2-862faade75d4e5e7c4ee86dbd45d72f168c84b13.tar.xz
apache2-862faade75d4e5e7c4ee86dbd45d72f168c84b13.zip
Fixed compilation for non-*nix platforms.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1208527 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--modules/cache/mod_socache_dbm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/cache/mod_socache_dbm.c b/modules/cache/mod_socache_dbm.c
index 7ac48f46c7..79aa279ad8 100644
--- a/modules/cache/mod_socache_dbm.c
+++ b/modules/cache/mod_socache_dbm.c
@@ -95,6 +95,7 @@ static const char *socache_dbm_create(ap_socache_instance_t **context,
return NULL;
}
+#if AP_NEED_SET_MUTEX_PERMS
static int try_chown(apr_pool_t *p, server_rec *s,
const char *name, const char *suffix)
{
@@ -110,6 +111,7 @@ static int try_chown(apr_pool_t *p, server_rec *s,
}
return 0;
}
+#endif
static apr_status_t socache_dbm_init(ap_socache_instance_t *ctx,