X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=blobdiff_plain;f=Makefile.PL;h=4b3e9fe45dff3b5aa46103e807acd415aad1798e;hp=1f7e5c87be2d24bca3da7c72613154131fb18c14;hb=fd559a2c26feca7160eadc82519b7377740d1959;hpb=1e667868c750e919a338cc4ceba4e9e86bf16c89 diff --git a/Makefile.PL b/Makefile.PL index 1f7e5c8..4b3e9fe 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -7,12 +7,12 @@ use ExtUtils::MakeMaker; my @DEFINES; # Threads, Windows and 5.8.x don't seem to be best friends -if ($^O eq 'MSWin32' && $^V lt v5.9.0) { +if ($^O eq 'MSWin32' and "$]" < 5.009) { push @DEFINES, '-DI_MULTIPLICITY=0'; } # Fork emulation got "fixed" in 5.10.1 -if ($^O eq 'MSWin32' && $^V lt v5.10.1) { +if ($^O eq 'MSWin32' and "$]" < 5.010_001) { push @DEFINES, '-DI_FORKSAFE=0'; }