httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wilfredo Sanchez <wsanc...@apple.com>
Subject Re: cvs commit: apache-1.3/src/include httpd.h
Date Fri, 21 May 1999 17:50:13 GMT
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


Mime
View raw message