Mercurial > sdl-ios-xcode
diff src/SDL_loadso.c @ 336:745873ea091f
BeOS compile fix for shared object loading code
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 10 Apr 2002 17:12:32 +0000 |
parents | f6ffac90895c |
children | 35ff0890ac4e |
line wrap: on
line diff
--- a/src/SDL_loadso.c Wed Apr 10 02:14:33 2002 +0000 +++ b/src/SDL_loadso.c Wed Apr 10 17:12:32 2002 +0000 @@ -173,6 +173,9 @@ void SDL_UnloadObject(void *handle) { +#if defined(__BEOS__) + image_id library_id; +#endif if ( handle == NULL ) { return; } @@ -184,7 +187,7 @@ 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) /* * */