]> git.vpit.fr Git - perl/modules/autovivification.git/blobdiff - Makefile.PL
Introduce A_THREADSAFE and A_FORKSAFE
[perl/modules/autovivification.git] / Makefile.PL
index a19c99a2cff4b04ec0fb86c63705c7fac2b3edd5..e33c81c55d79b81760efe42406dc6be098536061 100644 (file)
@@ -8,7 +8,12 @@ my @DEFINES;
 
 # Threads, Windows and 5.8.x don't seem to be best friends
 if ($^O eq 'MSWin32' && $^V lt v5.9.0) {
- push @DEFINES, '-DI_MULTIPLICITY=0';
+ push @DEFINES, '-DA_MULTIPLICITY=0';
+}
+
+# Fork emulation got "fixed" in 5.10.1
+if ($^O eq 'MSWin32' && $^V lt v5.10.1) {
+ push @DEFINES, '-DA_FORKSAFE=0';
 }
 
 @DEFINES = (DEFINE => join ' ', @DEFINES) if @DEFINES;