From fe1be78e384c11f7f15a712f116cdeb9e914957b Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Thu, 7 Dec 2006 16:19:05 +0000 Subject: More 64 bit fixes, notably confusion about file extensions and taking garray_getfloatarray out of expr svn path=/trunk/; revision=6685 --- pd/src/s_loader.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pd/src/s_loader.c') diff --git a/pd/src/s_loader.c b/pd/src/s_loader.c index a10ebab6..d2022146 100644 --- a/pd/src/s_loader.c +++ b/pd/src/s_loader.c @@ -35,7 +35,7 @@ a fat binary or an indication of the instruction set. */ static char sys_dllextent[] = ".b_i386", sys_dllextent2[] = ".pd_freebsd"; #endif #ifdef __linux__ -#ifdef __ia64__ +#ifdef __x86_64__ static char sys_dllextent[] = ".l_ia64", sys_dllextent2[] = ".pd_linux"; #else static char sys_dllextent[] = ".l_i386", sys_dllextent2[] = ".pd_linux"; @@ -94,9 +94,9 @@ static int sys_do_load_lib(t_canvas *canvas, char *objectname) if (classname = strrchr(objectname, '/')) classname++; else classname = objectname; - if (sys_onloadlist(classname)) + if (sys_onloadlist(objectname)) { - post("%s: already loaded", classname); + post("%s: already loaded", objectname); return (1); } for (i = 0, nameptr = classname; i < MAXPDSTRING-7 && *nameptr; nameptr++) @@ -194,7 +194,7 @@ gotone: } (*makeout)(); class_set_extern_dir(&s_); - sys_putonloadlist(classname); + sys_putonloadlist(objectname); return (1); } -- cgit v1.2.1