Mercurial > hg > xemacs-beta
changeset 1418:c7045d239c2b
[xemacs-hg @ 2003-04-16 20:24:06 by james]
Apply Chris Palmer's fix for the broken MacOS X build.
author | james |
---|---|
date | Wed, 16 Apr 2003 20:24:07 +0000 |
parents | da386bee3166 |
children | 52a1e15efe80 |
files | src/ChangeLog src/sysdll.c |
diffstat | 2 files changed, 9 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Tue Apr 15 21:52:27 2003 +0000 +++ b/src/ChangeLog Wed Apr 16 20:24:07 2003 +0000 @@ -1,3 +1,7 @@ +2003-04-16 Chris Palmer <chris@nodewarrior.org> + + * sysdll.c (dll_open): Removed Objective C-ism to fix Mac build. + 2003-04-16 Stephen J. Turnbull <stephen@xemacs.org> * menubar-gtk.c (gtk_xemacs_menubar_class_init):
--- a/src/sysdll.c Tue Apr 15 21:52:27 2003 +0000 +++ b/src/sysdll.c Wed Apr 16 20:24:07 2003 +0000 @@ -268,15 +268,16 @@ dll_open (const char *fname) { NSObjectFileImage file; + NSModule out; NSObjectFileImageReturnCode ret = NSCreateObjectFileImageFromFile(fname, &file); if (ret != NSObjectFileImageSuccess) { return NULL; } - NSModule out = NSLinkModule(file, fname, - NSLINKMODULE_OPTION_BINDNOW | - NSLINKMODULE_OPTION_PRIVATE | - NSLINKMODULE_OPTION_RETURN_ON_ERROR); + out = NSLinkModule(file, fname, + NSLINKMODULE_OPTION_BINDNOW | + NSLINKMODULE_OPTION_PRIVATE | + NSLINKMODULE_OPTION_RETURN_ON_ERROR); return (dll_handle)out; }