You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by th...@apache.org on 2003/01/22 19:26:00 UTC

cvs commit: apr/include apr.h.in

thommay     2003/01/22 10:25:59

  Modified:    .        CHANGES
               include  apr.h.in
  Log:
  Only include sys/syslimits.h if we don't have limits.h
  Submitted by: Garrett Rooney, Craig Rodrigues
  Reviewed by: Thom May
  
  Revision  Changes    Path
  1.369     +4 -0      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.368
  retrieving revision 1.369
  diff -u -r1.368 -r1.369
  --- CHANGES	8 Jan 2003 09:47:04 -0000	1.368
  +++ CHANGES	22 Jan 2003 18:25:59 -0000	1.369
  @@ -1,5 +1,9 @@
   Changes with APR 0.9.2
   
  +  *) Only include sys/syslimits.h if we don't have limits.h
  +     [Craig Rodrigues <ro...@attbi.com>, Garrett Rooney 
  +     <ro...@electricjellyfish.net>, Thom May]
  +
     *) Allow apr-config to work in symlinked install directories when
        'realpath' is available.  [Justin Erenkrantz]
   
  
  
  
  1.118     +3 -2      apr/include/apr.h.in
  
  Index: apr.h.in
  ===================================================================
  RCS file: /home/cvs/apr/include/apr.h.in,v
  retrieving revision 1.117
  retrieving revision 1.118
  diff -u -r1.117 -r1.118
  --- apr.h.in	22 Oct 2002 12:37:40 -0000	1.117
  +++ apr.h.in	22 Jan 2003 18:25:59 -0000	1.118
  @@ -304,11 +304,12 @@
   #endif
   
   /* header files for PATH_MAX, _POSIX_PATH_MAX */
  +#if APR_HAVE_LIMITS_H
  +#include <limits.h>
  +#else
   #if APR_HAVE_SYS_SYSLIMITS_H
   #include <sys/syslimits.h>
   #endif
  -#if APR_HAVE_LIMITS_H
  -#include <limits.h>
   #endif
   
   #if defined(PATH_MAX)