aboutsummaryrefslogtreecommitdiff
path: root/pd/src/s_loader.c
diff options
context:
space:
mode:
authorMiller Puckette <millerpuckette@users.sourceforge.net>2006-12-07 16:19:05 +0000
committerMiller Puckette <millerpuckette@users.sourceforge.net>2006-12-07 16:19:05 +0000
commitfe1be78e384c11f7f15a712f116cdeb9e914957b (patch)
treef3573f404f09e47cb13008c48abbc7775b90cf4b /pd/src/s_loader.c
parente40e15b5844bc49174d4798d710e264b97cdeaf4 (diff)
More 64 bit fixes, notably confusion about file extensions and taking
garray_getfloatarray out of expr svn path=/trunk/; revision=6685
Diffstat (limited to 'pd/src/s_loader.c')
-rw-r--r--pd/src/s_loader.c8
1 files changed, 4 insertions, 4 deletions
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);
}