aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorAndrew Choi2002-08-11 00:26:24 +0000
committerAndrew Choi2002-08-11 00:26:24 +0000
commit8030369ccb5c871d3ce11b96c220f318bc741ed8 (patch)
treeb2989661fb58dd8d3c70d7c915a98dd444dee1c1 /src/s
parent1e7c162fa46946be3686f97470dd2b1f4eb0ab7d (diff)
downloademacs-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.h7
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