mirror of
https://github.com/yawut/SDL.git
synced 2026-08-22 00:35:18 -05:00
BeOS compile fix for shared object loading code
This commit is contained in:
@@ -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)
|
||||
/* * */
|
||||
|
||||
Reference in New Issue
Block a user