Mercurial > emacs
diff src/sysdep.c @ 44890:01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
lisp/ChangeLog, and src/ChangeLog for list of changes.
| author | Andrew Choi <akochoi@shaw.ca> |
|---|---|
| date | Fri, 26 Apr 2002 23:39:06 +0000 |
| parents | 0400b67840ba |
| children | 863817d7e734 |
line wrap: on
line diff
--- a/src/sysdep.c Fri Apr 26 22:33:33 2002 +0000 +++ b/src/sysdep.c Fri Apr 26 23:39:06 2002 +0000 @@ -48,7 +48,7 @@ #include "blockinput.h" #undef NULL -#ifdef macintosh +#ifdef MAC_OS8 /* It is essential to include stdlib.h so that this file picks up the correct definitions of rand, srand, and RAND_MAX. Otherwise random numbers will not work correctly. */ @@ -58,7 +58,7 @@ /* Nonzero means delete a process right away if it exits (process.c). */ static int delete_exited_processes; #endif -#endif /* macintosh */ +#endif /* MAC_OS8 */ #ifdef WINDOWSNT #define read sys_read @@ -759,7 +759,7 @@ /* Fork a subshell. */ -#ifndef macintosh +#ifndef MAC_OS8 void sys_subshell () { @@ -895,7 +895,7 @@ synch_process_alive = 0; #endif /* !VMS */ } -#endif /* !macintosh */ +#endif /* !MAC_OS8 */ static void save_signal_handlers (saved_handlers) @@ -1305,7 +1305,7 @@ { struct emacs_tty tty; -#ifdef macintosh +#ifdef MAC_OS8 /* cus-start.el complains if delete-exited-processes is not defined */ #ifndef subprocesses DEFVAR_BOOL ("delete-exited-processes", &delete_exited_processes, @@ -1313,7 +1313,7 @@ nil means don't delete them until `list-processes' is run. */); delete_exited_processes = 0; #endif -#endif /* not macintosh */ +#endif /* MAC_OS8 */ #ifdef VMS #if 0
