From 6620b25a564f01468ab4aaa895cfcd4f75424f08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hannes=20M=C3=BCller?= <>
Date: Tue, 17 Oct 2017 19:23:39 +0200
Subject: [PATCH] Activate test-pthread-create-secondary for Cygwin

This test is passed on Cygwin and MSYS2
---
 test-suite/standalone/test-pthread-create-secondary.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test-suite/standalone/test-pthread-create-secondary.c b/test-suite/standalone/test-pthread-create-secondary.c
index 14ea240a4..aedb3b8fb 100644
--- a/test-suite/standalone/test-pthread-create-secondary.c
+++ b/test-suite/standalone/test-pthread-create-secondary.c
@@ -40,7 +40,7 @@
    Maidanski.  See <http://thread.gmane.org/gmane.lisp.guile.bugs/5340>
    for details.  */
 
-#if defined __linux__						\
+#if (defined __linux__ || defined __CYGWIN__)			\
   && (GC_VERSION_MAJOR > 7					\
       || (GC_VERSION_MAJOR == 7 && GC_VERSION_MINOR > 2)	\
       || (GC_VERSION_MAJOR == 7 && GC_VERSION_MINOR == 2	\
@@ -79,7 +79,7 @@ main (int argc, char *argv[])
 }
 
 
-#else /* Linux && GC < 7.2alpha5 */
+#else /* !(Linux || Cygwin) || GC < 7.2alpha5 */
 
 int
 main (int argc, char *argv[])
-- 
2.14.2

