aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
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