stoddard    2004/07/26 08:22:00

  Modified:    test     Makefile.win teststr.c
  Log:
  Win32: Fix compile break in apr tests. PR: 30103 by Craig Rodrigues
  
  Revision  Changes    Path
  1.22      +4 -4      apr/test/Makefile.win
  
  Index: Makefile.win
  ===================================================================
  RCS file: /home/cvs/apr/test/Makefile.win,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- Makefile.win      9 Apr 2004 02:03:12 -0000       1.21
  +++ Makefile.win      26 Jul 2004 15:21:59 -0000      1.22
  @@ -78,7 +78,7 @@
   testmutexscope.exe: testmutexscope.obj $(LOCAL_LIBS)
        $(LINK) testmutexscope.obj $(LOCAL_LIBS) $(ALL_LIBS)
   
  -TESTS = testall.obj testtime.obj teststr.obj testvsn.obj testipsub.obj \
  +TESTS = abts.obj testtime.obj teststr.obj testvsn.obj testipsub.obj \
        testmmap.obj testud.obj testtable.obj testsleep.obj testpools.obj \
        testfmt.obj testfile.obj testdir.obj testfileinfo.obj testrand.obj \
        testdso.obj testoc.obj testdup.obj testsockets.obj testproc.obj \
  @@ -87,10 +87,10 @@
        testenv.obj testprocmutex.obj testrand2.obj testfnmatch.obj \
           testatomic.obj testflock.obj testshm.obj testsock.obj \
           testglobalmutex.obj teststrnatcmp.obj testfilecopy.obj \
  -        testtemp.obj testlfs.obj
  +        testtemp.obj testlfs.obj testutil.obj
   
  -testall.exe: $(TESTS) CuTest.obj $(LOCAL_LIBS)
  -     $(LINK) /debug /subsystem:console /machine:I386 $(TESTS) CuTest.obj \
  +testall.exe: $(TESTS) $(LOCAL_LIBS)
  +     $(LINK) /debug /subsystem:console /machine:I386 /out:$@ $(TESTS) \
                $(LOCAL_LIBS) $(ALL_LIBS)
   
   
  
  
  
  1.26      +4 -0      apr/test/teststr.c
  
  Index: teststr.c
  ===================================================================
  RCS file: /home/cvs/apr/test/teststr.c,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- teststr.c 30 Jun 2004 11:10:24 -0000      1.25
  +++ teststr.c 26 Jul 2004 15:21:59 -0000      1.26
  @@ -20,6 +20,10 @@
   #include <stdio.h>
   #include <string.h>
   
  +#if APR_HAVE_LIMITS_H
  +#include <limits.h>
  +#endif
  +
   #include "apr_general.h"
   #include "apr_strings.h"
   #include "apr_errno.h"
  
  
  

Reply via email to