Commit 16d7ff7c authored by Sam Lantinga's avatar Sam Lantinga

BeOS compile fix for shared object loading code

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40337
parent 5eb3e3c1
......@@ -173,6 +173,9 @@ void *SDL_LoadFunction(void *handle, const char *name)
void SDL_UnloadObject(void *handle)
{
#if defined(__BEOS__)
image_id library_id;
#endif
if ( handle == NULL ) {
return;
}
......@@ -184,7 +187,7 @@ void SDL_UnloadObject(void *handle)
FreeLibrary((HMODULE)handle);
#elif defined(__BEOS__)
/* * */
image_id library_id = (image_id)handle;
library_id = (image_id)handle;
unload_add_on(library_id);
#elif defined(macintosh)
/* * */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment