diff options
| author | Andrew Choi | 2002-04-26 23:39:06 +0000 |
|---|---|---|
| committer | Andrew Choi | 2002-04-26 23:39:06 +0000 |
| commit | e0f712ba55fa0d073f6ab93606e428f61fc7caf2 (patch) | |
| tree | 7dc6d3403fafcbee1a83288ac840f7eba1d92b44 /src/sysdep.c | |
| parent | 501d8923ae2cdec4ef50f050bb66d3715ba2a8f6 (diff) | |
| download | emacs-e0f712ba55fa0d073f6ab93606e428f61fc7caf2.tar.gz emacs-e0f712ba55fa0d073f6ab93606e428f61fc7caf2.zip | |
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
lisp/ChangeLog, and src/ChangeLog for list of changes.
Diffstat (limited to 'src/sysdep.c')
| -rw-r--r-- | src/sysdep.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 75d929e54ca..c7e4aba3a82 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -48,7 +48,7 @@ extern void srandom P_ ((unsigned int)); | |||
| 48 | #include "blockinput.h" | 48 | #include "blockinput.h" |
| 49 | #undef NULL | 49 | #undef NULL |
| 50 | 50 | ||
| 51 | #ifdef macintosh | 51 | #ifdef MAC_OS8 |
| 52 | /* It is essential to include stdlib.h so that this file picks up | 52 | /* It is essential to include stdlib.h so that this file picks up |
| 53 | the correct definitions of rand, srand, and RAND_MAX. | 53 | the correct definitions of rand, srand, and RAND_MAX. |
| 54 | Otherwise random numbers will not work correctly. */ | 54 | Otherwise random numbers will not work correctly. */ |
| @@ -58,7 +58,7 @@ extern void srandom P_ ((unsigned int)); | |||
| 58 | /* Nonzero means delete a process right away if it exits (process.c). */ | 58 | /* Nonzero means delete a process right away if it exits (process.c). */ |
| 59 | static int delete_exited_processes; | 59 | static int delete_exited_processes; |
| 60 | #endif | 60 | #endif |
| 61 | #endif /* macintosh */ | 61 | #endif /* MAC_OS8 */ |
| 62 | 62 | ||
| 63 | #ifdef WINDOWSNT | 63 | #ifdef WINDOWSNT |
| 64 | #define read sys_read | 64 | #define read sys_read |
| @@ -759,7 +759,7 @@ sys_suspend () | |||
| 759 | 759 | ||
| 760 | /* Fork a subshell. */ | 760 | /* Fork a subshell. */ |
| 761 | 761 | ||
| 762 | #ifndef macintosh | 762 | #ifndef MAC_OS8 |
| 763 | void | 763 | void |
| 764 | sys_subshell () | 764 | sys_subshell () |
| 765 | { | 765 | { |
| @@ -895,7 +895,7 @@ sys_subshell () | |||
| 895 | synch_process_alive = 0; | 895 | synch_process_alive = 0; |
| 896 | #endif /* !VMS */ | 896 | #endif /* !VMS */ |
| 897 | } | 897 | } |
| 898 | #endif /* !macintosh */ | 898 | #endif /* !MAC_OS8 */ |
| 899 | 899 | ||
| 900 | static void | 900 | static void |
| 901 | save_signal_handlers (saved_handlers) | 901 | save_signal_handlers (saved_handlers) |
| @@ -1305,7 +1305,7 @@ init_sys_modes () | |||
| 1305 | { | 1305 | { |
| 1306 | struct emacs_tty tty; | 1306 | struct emacs_tty tty; |
| 1307 | 1307 | ||
| 1308 | #ifdef macintosh | 1308 | #ifdef MAC_OS8 |
| 1309 | /* cus-start.el complains if delete-exited-processes is not defined */ | 1309 | /* cus-start.el complains if delete-exited-processes is not defined */ |
| 1310 | #ifndef subprocesses | 1310 | #ifndef subprocesses |
| 1311 | DEFVAR_BOOL ("delete-exited-processes", &delete_exited_processes, | 1311 | DEFVAR_BOOL ("delete-exited-processes", &delete_exited_processes, |
| @@ -1313,7 +1313,7 @@ init_sys_modes () | |||
| 1313 | nil means don't delete them until `list-processes' is run. */); | 1313 | nil means don't delete them until `list-processes' is run. */); |
| 1314 | delete_exited_processes = 0; | 1314 | delete_exited_processes = 0; |
| 1315 | #endif | 1315 | #endif |
| 1316 | #endif /* not macintosh */ | 1316 | #endif /* MAC_OS8 */ |
| 1317 | 1317 | ||
| 1318 | #ifdef VMS | 1318 | #ifdef VMS |
| 1319 | #if 0 | 1319 | #if 0 |