summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstoddard <stoddard@13f79535-47bb-0310-9956-ffa450edef68>2004-07-26 15:21:59 +0000
committerstoddard <stoddard@13f79535-47bb-0310-9956-ffa450edef68>2004-07-26 15:21:59 +0000
commite1b41710e511ff2828a153f484fd1232b7ddf060 (patch)
tree62337ab6a550b443a0ddbd94f97e14ff3f9dcc75
parent4f754cfddafa4fa60e6717b84e70ad44654e20ca (diff)
downloadlibapr-e1b41710e511ff2828a153f484fd1232b7ddf060.tar.gz
Win32: Fix compile break in apr tests. PR: 30103 by Craig Rodrigues
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65289 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--test/Makefile.win8
-rw-r--r--test/teststr.c4
2 files changed, 8 insertions, 4 deletions
diff --git a/test/Makefile.win b/test/Makefile.win
index 72580a019..2772edff1 100644
--- a/test/Makefile.win
+++ b/test/Makefile.win
@@ -78,7 +78,7 @@ globalmutexchild.exe: globalmutexchild.obj $(LOCAL_LIBS)
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 @@ TESTS = testall.obj testtime.obj teststr.obj testvsn.obj testipsub.obj \
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)
diff --git a/test/teststr.c b/test/teststr.c
index f4b956eee..2121da41a 100644
--- a/test/teststr.c
+++ b/test/teststr.c
@@ -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"