ajout DLL pour MacOS X

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5259 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Damien Doligez 2002-11-12 17:52:57 +00:00
parent 51233b6e83
commit 76dfd059b8
1 changed files with 5 additions and 0 deletions

View File

@ -176,6 +176,11 @@ void caml_dlclose(void * handle)
void * caml_dlsym(void * handle, char * name)
{
#if DL_NEEDS_UNDERSCORE
char _name[1000] = "_";
strncat (_name, name, 998);
name = _name;
#endif
return dlsym(handle, name);
}