BeOS compile fix for shared object loading code
authorSam Lantinga
Wed, 10 Apr 2002 17:12:32 +0000
changeset 336745873ea091f
parent 335 bc4d50d2edd9
child 337 9154ec9ca3d2
BeOS compile fix for shared object loading code
src/SDL_loadso.c
     1.1 --- a/src/SDL_loadso.c	Wed Apr 10 02:14:33 2002 +0000
     1.2 +++ b/src/SDL_loadso.c	Wed Apr 10 17:12:32 2002 +0000
     1.3 @@ -173,6 +173,9 @@
     1.4  
     1.5  void SDL_UnloadObject(void *handle)
     1.6  {
     1.7 +#if defined(__BEOS__)
     1.8 +	image_id library_id;
     1.9 +#endif
    1.10  	if ( handle == NULL ) {
    1.11  		return;
    1.12  	}
    1.13 @@ -184,7 +187,7 @@
    1.14  	FreeLibrary((HMODULE)handle);
    1.15  #elif defined(__BEOS__)
    1.16  /* * */
    1.17 -	image_id library_id = (image_id)handle;
    1.18 +	library_id = (image_id)handle;
    1.19  	unload_add_on(library_id);
    1.20  #elif defined(macintosh)
    1.21  /* * */