diff src/SDL_loadso.c @ 707:c67d4fb10a45

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Sat, 30 Aug 2003 21:57:23 +0000
parents 35ff0890ac4e
children d0d50f2b044c
line wrap: on
line diff
--- a/src/SDL_loadso.c	Sat Aug 30 21:47:48 2003 +0000
+++ b/src/SDL_loadso.c	Sat Aug 30 21:57:23 2003 +0000
@@ -184,6 +184,8 @@
 {
 #if defined(__BEOS__)
 	image_id library_id;
+#elif defined(macintosh)
+	CFragConnectionID library_id;
 #endif
 	if ( handle == NULL ) {
 		return;
@@ -200,7 +202,7 @@
 	unload_add_on(library_id);
 #elif defined(macintosh)
 /* * */
-	CFragConnectionID library_id = (CFragConnectionID)handle;
+	library_id = (CFragConnectionID)handle;
 	CloseConnection(library_id);
 #elif defined(__MINT__) && defined(ENABLE_LDG)
 /* * */