You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@locus.apache.org on 2000/06/08 22:21:35 UTC
cvs commit: apache-2.0/src/include ap_config.h
rbb 00/06/08 13:21:35
Modified: src/include ap_config.h
Log:
Include a definition of rlim_t if the platform doesn't have it natively.
Revision Changes Path
1.29 +5 -0 apache-2.0/src/include/ap_config.h
Index: ap_config.h
===================================================================
RCS file: /home/cvs/apache-2.0/src/include/ap_config.h,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- ap_config.h 2000/05/27 22:40:19 1.28
+++ ap_config.h 2000/06/08 20:21:35 1.29
@@ -56,6 +56,7 @@
#define AP_AC_CONFIG_H
#include "ap_mmn.h" /* MODULE_MAGIC_NUMBER_ */
+#include <resource.h> /* rlim_t */
/* Implemented flags for dynamic library bindings.
*
@@ -243,6 +244,10 @@
#define USE_MMAP_FILES 1
#else
#undef USE_MMAP_FILES
+#endif
+
+#ifndef rlim_t
+typedef unsigned long rlim_t;
#endif
#if defined(CHARSET_EBCDIC) && !defined(APACHE_XLATE)
Re: cvs commit: apache-2.0/src/include ap_config.h
Posted by Jeff Trawick <tr...@bellsouth.net>.
> From: rbb@locus.apache.org
> Date: 8 Jun 2000 20:21:35 -0000
> +#ifndef rlim_t
> +typedef unsigned long rlim_t;
> #endif
That is not a valid way to determine whether or not the platform
defines it natively. Remember... gcc is your friend.
--
Jeff Trawick | trawick@ibm.net | PGP public key at web site:
http://www.geocities.com/SiliconValley/Park/9289/
Born in Roswell... married an alien...
Re: cvs commit: apache-2.0/src/include ap_config.h
Posted by Jeff Trawick <tr...@bellsouth.net>.
> From: rbb@locus.apache.org
> Date: 8 Jun 2000 20:21:35 -0000
> +#ifndef rlim_t
> +typedef unsigned long rlim_t;
> #endif
That is not a valid way to determine whether or not the platform
defines it natively. Remember... gcc is your friend.
--
Jeff Trawick | trawick@ibm.net | PGP public key at web site:
http://www.geocities.com/SiliconValley/Park/9289/
Born in Roswell... married an alien...