Commit 4b163808 authored by Jim Blandy's avatar Jim Blandy

* emacs.c (SEPCHAR): Instead of defining this to be ',' on VMS and

	':' elsewhere, just have it default to ':' if not #defined, and
	#define it to be ',' in s/vms.h; OS/2 will need it to be ';'.
	* s/vms.h (SEPCHAR): #define this to be ','.
	* s/template.h (SEPCHAR): Mention this.

	Changes for Emacs 19 from Thorsten Ohl <>:
	* s/mach2.h: copied from the Emacs 18.59 distribution.
	Don't define NO_REMAP, define START_FILES as
	`pre-crt0.o' instead.  Define LIB_MATH as `-lm', to override the
	default `-lm -lc' (there is no libc on the NeXT).
	* ymakefile (STARTFILES): Allow config.h to set this value even if
	ORDINARY_LINK is defined.
	* unexnext.c: Fix subdirectories for the machine dependent include
	files for NeXTStep 3.0; #include <mach/mach.h> and
	<mach-o/loader.h> instead of <mach.h> and <sys/loader.h>.
	(getsectbyname): Remove prototype for this; the system #include
	files take care of that.
	(malloc_cookie): New variable.
	(unexec_doit): Set malloc_cookie to the result returned by
	* emacs.c (main): Declare malloc_cookie to be extern, so that we can
	get the value set when we dumped and pass it to malloc_jumpstart.
	* systime.h: The NeXT has a timezone function.
parent b07646f5
......@@ -237,7 +237,7 @@ main (argc, argv, envp)
#ifdef NeXT
static int malloc_cookie;
extern int malloc_cookie;
/* This helps out unexnext.c. */
if (initialized)
......@@ -800,9 +800,7 @@ and announce itself normally when it is run.")
#endif /* not CANNOT_DUMP */
#ifdef VMS
#define SEPCHAR ','
#ifndef SEPCHAR
#define SEPCHAR ':'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment