From: Christophe Jaillet Date: Sun, 11 Nov 2012 12:53:11 +0000 (+0000) Subject: Replace an incorrect #if by the correct corresponding #if defined(...) X-Git-Tag: 2.5.0-alpha~6129 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4a8666bfac9a94f3308d41e172f77d8e1a73e31;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/generators/mod_cgi.c b/modules/generators/mod_cgi.c index a609654524f..5a0cb382961 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