changeset 707:c67d4fb10a45

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Sat, 30 Aug 2003 21:57:23 +0000
parents a33b7819b917
children d0d50f2b044c
files src/SDL_loadso.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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)
 /* * */