We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37647a2 commit 67a6b58Copy full SHA for 67a6b58
t/lib/MakeMaker/Test/NoXS.pm
@@ -10,6 +10,15 @@ require XSLoader;
10
# Things like Cwd key on this to decide if they're running miniperl
11
delete $DynaLoader::{boot_DynaLoader};
12
13
+if ($^O eq 'MSWin32') {
14
+ require Win32;
15
+ my $GetCwd = *{'Win32::GetCwd'}{CODE};
16
+ my $SetChildShowWindow = *{'Win32::SetChildShowWindow'}{CODE};
17
+ %{*main::Win32::{HASH}} = ();
18
+ *{'Win32::GetCwd'} = $GetCwd;
19
+ *{'Win32::SetChildShowWindow'} = $SetChildShowWindow;
20
+}
21
+
22
# This isn't 100%. Things like Win32.pm will crap out rather than
23
# just not load. See ExtUtils::MM->_is_win95 for an example
24
no warnings 'redefine';
0 commit comments