* emacs.c (main): Call init_mac_osx_environment if HAVE_CARBON is
defined instead of MAC_OSX.
* s/darwin.h (select): Define select to sys_select only if
HAVE_CARBON is defined.
2002-08-25 Andrew Choi <akochoi@shaw.ca>
- * s/darwin.h (HAVE_WORKING_VFORK): #undef it. Define vfork to
- fork.
+ * emacs.c (main): Call init_mac_osx_environment if HAVE_CARBON is
+ defined instead of MAC_OSX.
+
+ * s/darwin.h (select): Define select to sys_select only if
+ HAVE_CARBON is defined.
+ (HAVE_WORKING_VFORK): #undef it. Define vfork to fork.
* macterm.c (XTread_socket): Remove code to call
SendEventToEventTarget for keys with command modifiers when
run_time_remap (argv[0]);
#endif
-#ifdef MAC_OSX
+#ifdef HAVE_CARBON
if (!initialized)
unexec_init_emacs_zone ();
#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)
+#if defined (HAVE_CARBON) && (defined (emacs) || defined (temacs))
#define select sys_select
#endif