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 _______________________________________________ neon mailing list [email protected] http://mailman.webdav.org/mailman/listinfo/neon
