ajout DLL pour MacOS X
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5259 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
51233b6e83
commit
76dfd059b8
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue