author | Sam Lantinga <slouken@libsdl.org> |
Wed, 10 Apr 2002 17:12:32 +0000 | |
changeset 336 | 745873ea091f |
parent 335 | bc4d50d2edd9 |
child 337 | 9154ec9ca3d2 |
src/SDL_loadso.c | file | annotate | diff | comparison | revisions |
--- 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) /* * */