You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Wilfredo Sanchez <ws...@apple.com> on 1999/05/21 19:50:13 UTC

Re: cvs commit: apache-1.3/src/include httpd.h

Wouldn't it be better to define this sort of thing in ap_config.h,  
rather than having #if WIN32 conditionals all over the code?

	-Fred


  Index: httpd.h
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/include/httpd.h,v
  retrieving revision 1.277
  retrieving revision 1.278
  diff -u -r1.277 -r1.278
  --- httpd.h	1999/05/21 12:16:17	1.277
  +++ httpd.h	1999/05/21 17:10:40	1.278
  @@ -306,7 +306,11 @@
    * the overhead.
    */
   #ifndef HARD_SERVER_LIMIT
  +#ifdef WIN32
  +#define HARD_SERVER_LIMIT 1500
  +#else
   #define HARD_SERVER_LIMIT 256
  +#endif
   #endif

   /*


--
       Wilfredo Sanchez, wsanchez@apple.com
Apple Computer, Inc., Core Operating Systems / BSD
          Technical Lead, Darwin Project
   1 Infinite Loop, 302-4K, Cupertino, CA 95014


Re: cvs commit: apache-1.3/src/include httpd.h

Posted by Bill Stoddard <st...@raleigh.ibm.com>.
Wilfredo Sanchez wrote:
> 
> Wouldn't it be better to define this sort of thing in ap_config.h,
> rather than having #if WIN32 conditionals all over the code?

Yea, probably so. I'll take a look at it later.
Bill

-- 
Bill Stoddard
stoddard@raleigh.ibm.com