aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-05-04 02:29:06 +0000
committerJim Blandy1993-05-04 02:29:06 +0000
commit4b163808685487ad6d4fc1ebcdfb78c5c0969291 (patch)
tree63c8a1a087ac43f5a698b4ebad75ca091f914e82 /src
parentb07646f5192832809e0bc76edbf2a73677ec2767 (diff)
downloademacs-4b163808685487ad6d4fc1ebcdfb78c5c0969291.tar.gz
emacs-4b163808685487ad6d4fc1ebcdfb78c5c0969291.zip
* 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 <ohl@chico.harvard.edu>: * 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 malloc_freezedry. * 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.
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 8143498a104..6fed31c297c 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -237,7 +237,7 @@ main (argc, argv, envp)
237#endif 237#endif
238 238
239#ifdef NeXT 239#ifdef NeXT
240 static int malloc_cookie; 240 extern int malloc_cookie;
241 241
242 /* This helps out unexnext.c. */ 242 /* This helps out unexnext.c. */
243 if (initialized) 243 if (initialized)
@@ -800,9 +800,7 @@ and announce itself normally when it is run.")
800 800
801#endif /* not CANNOT_DUMP */ 801#endif /* not CANNOT_DUMP */
802 802
803#ifdef VMS 803#ifndef SEPCHAR
804#define SEPCHAR ','
805#else
806#define SEPCHAR ':' 804#define SEPCHAR ':'
807#endif 805#endif
808 806