summaryrefslogtreecommitdiffstats
path: root/src/os_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 5d52a7fae7..0059d30816 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -5787,7 +5787,9 @@ mch_libcall(libname, funcname, argstring, argint, string_result, number_result)
if (SETJMP(lc_jump_env) != 0)
{
success = FALSE;
+# if defined(USE_DLOPEN)
dlerr = NULL;
+# endif
mch_didjmp();
}
else