aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Choi <[email protected]>2002-08-25 17:15:26 +0000
committerAndrew Choi <[email protected]>2002-08-25 17:15:26 +0000
commita6311b2f6e785e8cb79c492a242c9c12d0a84554 (patch)
treed3bc4329150baa020dafeaccdfa1f30c2de38f15 /src
parent511ca371fa8abb22f11ccd18fa71badc45999144 (diff)
2002-08-25 Andrew Choi <[email protected]>
* 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.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog8
-rw-r--r--src/emacs.c2
-rw-r--r--src/s/darwin.h2
3 files changed, 8 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index df59a27aef..a6e41b4bc7 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,7 +1,11 @@
2002-08-25 Andrew Choi <[email protected]>
- * 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
diff --git a/src/emacs.c b/src/emacs.c
index 63a94306e4..cf48bf28da 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -794,7 +794,7 @@ main (argc, argv, envp)
run_time_remap (argv[0]);
#endif
-#ifdef MAC_OSX
+#ifdef HAVE_CARBON
if (!initialized)
unexec_init_emacs_zone ();
#endif
diff --git a/src/s/darwin.h b/src/s/darwin.h
index dcfb00a568..6fd4b94dde 100644
--- a/src/s/darwin.h
+++ b/src/s/darwin.h
@@ -312,6 +312,6 @@ struct kboard;
/* 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