1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

Wrapped dlerror() in the same way as the other dlxxx() calls.

Jeremy.
This commit is contained in:
Jeremy Allison
-
parent 5059fbbb76
commit ed5a1f70c6
3 changed files with 12 additions and 3 deletions

View File

@ -977,3 +977,12 @@ int sys_dlclose (void *handle)
return 0;
#endif
}
const char *sys_dlerror(void)
{
#ifdef HAVE_LIBDL
return dlerror();
#else
return NULL;
#endif
}