diff options
| author | Andrew Choi | 2002-08-11 00:26:24 +0000 |
|---|---|---|
| committer | Andrew Choi | 2002-08-11 00:26:24 +0000 |
| commit | 8030369ccb5c871d3ce11b96c220f318bc741ed8 (patch) | |
| tree | b2989661fb58dd8d3c70d7c915a98dd444dee1c1 /src/s | |
| parent | 1e7c162fa46946be3686f97470dd2b1f4eb0ab7d (diff) | |
| download | emacs-8030369ccb5c871d3ce11b96c220f318bc741ed8.tar.gz emacs-8030369ccb5c871d3ce11b96c220f318bc741ed8.zip | |
2002-08-10 Andrew Choi <akochoi@shaw.ca>
* mac.c (sys_select) [MAC_OSX]: New function.
* macterm.c (MakeMeTheFrontProcess): New function.
(mac_initialize): Call MakeMeTheFrontProcess.
* s/darwin.h: Define select to sys_select.
Diffstat (limited to 'src/s')
| -rw-r--r-- | src/s/darwin.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/s/darwin.h b/src/s/darwin.h index a4b3b727537..c8e5ac54f7a 100644 --- a/src/s/darwin.h +++ b/src/s/darwin.h | |||
| @@ -308,3 +308,10 @@ struct kboard; | |||
| 308 | #define realloc unexec_realloc | 308 | #define realloc unexec_realloc |
| 309 | #define free unexec_free | 309 | #define free unexec_free |
| 310 | #endif | 310 | #endif |
| 311 | |||
| 312 | /* Reroute calls to SELECT to the version defined in mac.c to fix the | ||
| 313 | problem of Emacs requiring an extra return to be typed to start | ||
| 314 | working when started from the command line. */ | ||
| 315 | #if defined (emacs) || defined (temacs) | ||
| 316 | #define select sys_select | ||
| 317 | #endif | ||