diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-11-14 20:57:33 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-11-14 21:02:25 +0000 |
commit | 3486ec8401b619df2ab962eb55fa4480b26b8fbc (patch) | |
tree | 2fd87ef79fd972511272676fbf42261050bbeaad /ext | |
parent | a00c27eb94c700013d6eb0c27b8faae8b9bc506b (diff) | |
download | perl-3486ec8401b619df2ab962eb55fa4480b26b8fbc.tar.gz |
Fix multiplicity build, broken by 328552296d8d53b3.
It wrongly had #ifdef USE_ITHREADS, which should have been #ifdef MULTIPLICITY.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/B/B.xs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/B/B.xs b/ext/B/B.xs index a58ff00143..ad9c0a676d 100644 --- a/ext/B/B.xs +++ b/ext/B/B.xs @@ -599,7 +599,7 @@ typedef HE *B__HE; typedef struct refcounted_he *B__RHE; #endif -#ifdef USE_ITHREADS +#ifdef MULTIPLICITY # define ASSIGN_COMMON_ALIAS(var) \ STMT_START { XSANY.any_i32 = offsetof(struct interpreter, var); } STMT_END #else @@ -617,7 +617,7 @@ static XSPROTO(intrpvar_sv_common) SV *ret; if (items != 0) croak_xs_usage(cv, ""); -#ifdef USE_ITHREADS +#ifdef MULTIPLICITY ret = *(SV **)(XSANY.any_i32 + (char *)my_perl); #else ret = *(SV **)(XSANY.any_ptr); |