From e4a8666bfac9a94f3308d41e172f77d8e1a73e31 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Sun, 11 Nov 2012 12:53:11 +0000 Subject: [PATCH] Replace an incorrect #if by the correct corresponding #if defined(...) PR 54133 reported by Teodor Milkov () git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1407965 13f79535-47bb-0310-9956-ffa450edef68 --- modules/generators/mod_cgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/generators/mod_cgi.c b/modules/generators/mod_cgi.c index a609654524..5a0cb38296 100644 --- a/modules/generators/mod_cgi.c +++ b/modules/generators/mod_cgi.c @@ -436,7 +436,7 @@ static apr_status_t run_cgi_child(apr_file_t **script_out, ((rc = apr_procattr_limit_set(procattr, APR_LIMIT_MEM, conf->limit_mem)) != APR_SUCCESS) || #endif -#if RLIMIT_NPROC && defined(AP_CGI_USE_RLIMIT) +#if defined(RLIMIT_NPROC) && defined(AP_CGI_USE_RLIMIT) ((rc = apr_procattr_limit_set(procattr, APR_LIMIT_NPROC, conf->limit_nproc)) != APR_SUCCESS) || #endif