From 3c0c8c0fed4b271b6acf5fb4ed9b847b52279990 Mon Sep 17 00:00:00 2001 From: sisyphus Date: Thu, 31 Jul 2025 21:50:24 +1000 Subject: [PATCH] Allow for enabling of USE_IMP_SYS in Win32 unthreaded builds. Enabled by merging of https://github.com/Perl/perl5/pull/23178 --- t/GetCurrentThreadId.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/GetCurrentThreadId.t b/t/GetCurrentThreadId.t index ce98f3e..b71372f 100644 --- a/t/GetCurrentThreadId.t +++ b/t/GetCurrentThreadId.t @@ -3,7 +3,7 @@ use Config qw(%Config); use Test; use Win32; -my $fork_emulation = $Config{ccflags} =~ /PERL_IMPLICIT_SYS/; +my $fork_emulation = defined($Config{useithreads}); my $tests = $fork_emulation ? 4 : 2; plan tests => $tests;