

From: David Rothenberger <d.rothenberger@entomo.com>


---
 test/testdso.c   |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/test/testdso.c b/test/testdso.c
index 0d9f27b..ec81c16 100644
--- a/test/testdso.c
+++ b/test/testdso.c
@@ -35,6 +35,9 @@
 # define MOD_NAME "mod_test.so"
 #elif defined(WIN32)
 # define MOD_NAME TESTBINPATH "mod_test.dll"
+#elif defined(CYGWIN)
+# define MOD_NAME ".libs/mod_test.dll"
+# define LIB_NAME ".libs/cygmod_test.dll"
 #elif defined(DARWIN)
 # define MOD_NAME ".libs/mod_test.so" 
 # define LIB_NAME ".libs/libmod_test.dylib" 
--- a/test/testdir.c	2014-01-21 12:24:46.000000000 +0100
+++ b/test/testdir.c	2018-10-07 14:36:36.542175800 +0200
@@ -95,6 +95,7 @@
     return NULL;
 }
 
+#if APR_HAS_THREADS
 static void test_mkdir_recurs_parallel(abts_case *tc, void *data)
 {
     struct thread_data td1, td2, td3, td4;
@@ -126,6 +127,7 @@
     ABTS_INT_EQUAL(tc, APR_SUCCESS, s3);
     ABTS_INT_EQUAL(tc, APR_SUCCESS, s4);
 }
+#endif
 
 static void test_remove(abts_case *tc, void *data)
 {
@@ -379,7 +381,9 @@
 
     abts_run_test(suite, test_mkdir, NULL);
     abts_run_test(suite, test_mkdir_recurs, NULL);
+#if APR_HAS_THREADS
     abts_run_test(suite, test_mkdir_recurs_parallel, NULL);
+#endif
     abts_run_test(suite, test_remove, NULL);
     abts_run_test(suite, test_removeall_fail, NULL);
     abts_run_test(suite, test_removeall, NULL);
