From: Guenter Knauf Date: Wed, 30 Nov 2011 17:16:09 +0000 (+0000) Subject: Fixed compilation for non-*nix platforms. X-Git-Tag: 2.5.0-alpha~7774 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=862faade75d4e5e7c4ee86dbd45d72f168c84b13;p=thirdparty%2Fapache%2Fhttpd.git Fixed compilation for non-*nix platforms. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1208527 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cache/mod_socache_dbm.c b/modules/cache/mod_socache_dbm.c index 7ac48f46c72..79aa279ad8b 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,