diff src/s/darwin.h @ 46856:eba75fedd593

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.
author Andrew Choi <akochoi@shaw.ca>
date Sun, 11 Aug 2002 00:26:24 +0000
parents 16b6134d7193
children 56242900e171
line wrap: on
line diff
--- a/src/s/darwin.h	Sat Aug 10 03:48:12 2002 +0000
+++ b/src/s/darwin.h	Sun Aug 11 00:26:24 2002 +0000
@@ -308,3 +308,10 @@
 #define realloc unexec_realloc
 #define free unexec_free
 #endif
+
+/* Reroute calls to SELECT to the version defined in mac.c to fix the
+   problem of Emacs requiring an extra return to be typed to start
+   working when started from the command line.  */
+#if defined (emacs) || defined (temacs)
+#define select sys_select
+#endif