]> git.vpit.fr Git - perl/modules/Variable-Magic.git/commitdiff
Really fix building on perls with multiplicity but no threads
authorVincent Pit <vince@profvince.com>
Sun, 12 Oct 2008 14:49:35 +0000 (16:49 +0200)
committerVincent Pit <vince@profvince.com>
Sun, 12 Oct 2008 14:49:35 +0000 (16:49 +0200)
Magic.xs

index 4574c23e83cdae060dd6f2b5b78503e15d892dc9..19eb15c18f03262393b4f9b482f5c71e0bf8ddde 100644 (file)
--- a/Magic.xs
+++ b/Magic.xs
@@ -49,7 +49,7 @@
 # define tTHX PerlInterpreter*
 #endif
 
-#if VMG_MULTIPLICITY && defined(dMY_CXT) && defined(MY_CXT) && defined(START_MY_CXT) && defined(MY_CXT_INIT) && (defined(MY_CXT_CLONE) || defined(dMY_CXT_SV))
+#if VMG_MULTIPLICITY && defined(USE_ITHREADS) && defined(dMY_CXT) && defined(MY_CXT) && defined(START_MY_CXT) && defined(MY_CXT_INIT) && (defined(MY_CXT_CLONE) || defined(dMY_CXT_SV))
 # define VMG_THREADSAFE 1
 # ifndef MY_CXT_CLONE
 #  define MY_CXT_CLONE \