Hi Joe,
i have applied the patch and neon builds well
As an attchment you will find the limits.h from an AIX 5.1 System since
it contains a lot of LONGS

With kind regards
Hajo

BTW:
Right now i get a:( subversion 1.3.0 ) 
\....... "subversion/clients/cmdline/main.c", line 789.17: 1506-112 (E)
Duplicate type qualifier "volatile" ignored.
gmake: *** [subversion/clients/cmdline/main.o] Error 1

I will post this error to the subversion email list:
[EMAIL PROTECTED] 


>>> Joe Orton <[EMAIL PROTECTED]> 07/01/06 08:10 >>>
On Sat, Jan 07, 2006 at 02:32:36AM +0100, Hans-Joachim Ehlers wrote:
> Hi
> during the build of subversion/neon i get a error from xlc_r on
> ne_request.c :
> 
>  ne_request.c line 1318.20 Undeclared identifier LONG_LONG_MAX
> 
> On AIX 5.1 the limits.h does not have a LONG_LONG_MAX definition ( i
> found an LONGLONG_MAX in /usr/include/sys/limits )

Thanks for the report.  Can you try this patch?

--- src/ne_request.c    (revision 830)
+++ src/ne_request.c    (working copy)
@@ -27,6 +27,8 @@
 
 #include <sys/types.h>
 
+#include <sys/limits.h>
+
 #ifdef HAVE_LIMITS_H
 #include <limits.h> /* for UINT_MAX etc */
 #endif
@@ -73,6 +75,8 @@
 
 #if !defined(LONG_LONG_MAX) && defined(LLONG_MAX)
 #define LONG_LONG_MAX LLONG_MAX
+#elif !defined(LONG_LONG_MAX) && defined(LONGLONG_MAX)
+#define LONG_LONG_MAX LONGLONG_MAX
 #endif
 
 #ifdef NE_LFS

Attachment: limits.h
Description: Binary data

_______________________________________________
neon mailing list
[email protected]
http://mailman.webdav.org/mailman/listinfo/neon

Reply via email to