From 6620b25a564f01468ab4aaa895cfcd4f75424f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20M=C3=BCller?= Date: Tue, 17 Oct 2017 20:23:39 +0200 Subject: [PATCH] Activate test-pthread-create-secondary for CYGWIN/MSYS2 To: address@hidden * test-suite/standalone/test-pthread-create-secondary.c [__CYGWIN__]: Add test also for CYGWIN/MSYS2 since it passes on these systems. --- 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 @@ -39,7 +39,7 @@ Maidanski. See 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 \ @@ -78,7 +78,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