Changeset 14205
- Timestamp:
- Aug 23, 2010, 6:06:47 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/source/lisp-kernel/pmcl-kernel.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/lisp-kernel/pmcl-kernel.c
r14197 r14205 16 16 */ 17 17 18 #ifdef DARWIN19 /* dyld.h included here because something in "lisp.h" causes20 a conflict (actually I think the problem is in "constants.h")21 */22 /* #include <mach-o/dyld.h> */23 24 #endif25 18 #include "lisp.h" 26 19 #include "lisp_globals.h" … … 91 84 #include <mach/port.h> 92 85 #include <sys/sysctl.h> 86 #undef undefined 87 #include <mach-o/dyld.h> 93 88 #include <dlfcn.h> 94 89 #endif … … 981 976 uint32_t len = 1024; 982 977 char exepath[1024], *p = NULL; 983 984 if (_NSGetExecutablePath(exepath, (void *)&len) == 0) {978 979 if (_NSGetExecutablePath(exepath, &len) == 0) { 985 980 p = malloc(len+1); 986 981 memmove(p, exepath, len);
Note:
See TracChangeset
for help on using the changeset viewer.
