summaryrefslogtreecommitdiff
path: root/ext/DynaLoader/dl_mpeix.xs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/DynaLoader/dl_mpeix.xs')
-rw-r--r--ext/DynaLoader/dl_mpeix.xs6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/DynaLoader/dl_mpeix.xs b/ext/DynaLoader/dl_mpeix.xs
index d1da269465..04796fba5f 100644
--- a/ext/DynaLoader/dl_mpeix.xs
+++ b/ext/DynaLoader/dl_mpeix.xs
@@ -30,13 +30,10 @@ typedef struct {
char filename[PATH_MAX + 3];
} t_mpe_dld, *p_mpe_dld;
-static AV *dl_resolve_using = Nullav;
-
static void
dl_private_init(pTHX)
{
(void)dl_generic_private_init(aTHX);
- dl_resolve_using = get_av("DynaLoader::dl_resolve_using", GV_ADDMULTI);
}
MODULE = DynaLoader PACKAGE = DynaLoader
@@ -124,7 +121,8 @@ dl_install_xsub(perl_name, symref, filename="$Package")
char *
dl_error()
CODE:
- RETVAL = LastError ;
+ dMY_CXT;
+ RETVAL = dl_last_error ;
OUTPUT:
RETVAL