diff options
Diffstat (limited to 'ext/DynaLoader/dl_dllload.xs')
-rw-r--r-- | ext/DynaLoader/dl_dllload.xs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/DynaLoader/dl_dllload.xs b/ext/DynaLoader/dl_dllload.xs index fe6957ac20..497e09651f 100644 --- a/ext/DynaLoader/dl_dllload.xs +++ b/ext/DynaLoader/dl_dllload.xs @@ -182,7 +182,8 @@ dl_install_xsub(perl_name, symref, filename="$Package") char * dl_error() CODE: - RETVAL = LastError ; + dMY_CXT; + RETVAL = dl_last_error ; OUTPUT: RETVAL |