Index: s_loader.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_loader.c,v retrieving revision 1.4 diff -u -w -r1.4 s_loader.c --- s_loader.c 6 Sep 2004 20:20:35 -0000 1.4 +++ s_loader.c 26 Nov 2005 00:27:11 -0000 @@ -2,6 +2,9 @@ * For information on usage and redistribution, and for a DISCLAIMER OF ALL * WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ +#ifdef __APPLE__ +#define DL_OPEN +#endif #ifdef DL_OPEN #include #endif @@ -13,7 +16,7 @@ #include #include #endif -#ifdef MACOSX +#ifdef MACOSX10.2 #include #endif #include @@ -90,7 +93,7 @@ if (lastdot = strrchr(nameptr, '.')) *lastdot = 0; -#ifdef MACOSX +#ifdef MACOSX10.2 strcpy(symname, "_"); strcat(symname, nameptr); #else @@ -122,7 +125,7 @@ } makeout = (t_xxx)GetProcAddress(ntdll, symname); #endif -#ifdef MACOSX +#ifdef MACOSX10.2 { NSObjectFileImage image; void *ret;