This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make change #22889 work for threaded builds, Part 2.
[perl5.git] / XSUB.h
diff --git a/XSUB.h b/XSUB.h
index 77b9441..4306454 100644 (file)
--- a/XSUB.h
+++ b/XSUB.h
@@ -114,7 +114,7 @@ is a lexical $_ in scope.
 #define XSINTERFACE_FUNC_SET(cv,f)     \
                CvXSUBANY(cv).any_dxptr = (void (*) (pTHX_ void*))(f)
 
-#define dUNDERBAR I32 padoff_du = Perl_find_rundefsvoffset()
+#define dUNDERBAR I32 padoff_du = find_rundefsvoffset()
 #define UNDERBAR ((padoff_du == NOT_IN_PAD \
            || PAD_COMPNAME_FLAGS(padoff_du) & SVpad_OUR) \
        ? DEFSV : PAD_SVl(padoff_du))