Am 21.12.2011 20:08, schrieb Greg Ames:
On Tue, Dec 20, 2011 at 4:26 AM, William A. Rowe Jr.
<[email protected]>  wrote:
We should come to a conclusion on this.

How about this for 2.2.x ?

--- server/util.c       (revision 1179624)
+++ server/util.c       (working copy)
@@ -82,6 +82,8 @@
  #define IS_SLASH(s) (s == '/')
  #endif

+/* same as APR_SIZE_MAX which doesn't appear until APR 1.3 */
+#define UTIL_SIZE_MAX (~((apr_size_t)0))
thats bad - you should protect it since some compilers do not like macro redefines (for the case you have APR already defining it):

/* same as APR_SIZE_MAX which doesn't appear until APR 1.3 */
#ifndef UTIL_SIZE_MAX
#define UTIL_SIZE_MAX (~((apr_size_t)0))
#endif

Gün.


Reply via email to