From 862faade75d4e5e7c4ee86dbd45d72f168c84b13 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Wed, 30 Nov 2011 17:16:09 +0000 Subject: Fixed compilation for non-*nix platforms. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1208527 13f79535-47bb-0310-9956-ffa450edef68 --- modules/cache/mod_socache_dbm.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/cache/mod_socache_dbm.c') 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, -- cgit v1.2.3