MSYS2-packages/guile/0201-Activate-test-pthread-create-secondary-for-Cygwin.patch
Hannes Müller fd90ff2259 guile: update to 3.0.8
- activate check()
- only set configure options which are not set by default
- fix depends for libguile-devel
- add support for gdb guile auto-load
2022-09-30 18:56:34 +02:00

36 lines
1.2 KiB
Diff
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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