diff options
author | Andrew Choi <[email protected]> | 2002-08-25 17:15:26 +0000 |
---|---|---|
committer | Andrew Choi <[email protected]> | 2002-08-25 17:15:26 +0000 |
commit | a6311b2f6e785e8cb79c492a242c9c12d0a84554 (patch) | |
tree | d3bc4329150baa020dafeaccdfa1f30c2de38f15 /src | |
parent | 511ca371fa8abb22f11ccd18fa71badc45999144 (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/ChangeLog | 8 | ||||
-rw-r--r-- | src/emacs.c | 2 | ||||
-rw-r--r-- | src/s/darwin.h | 2 |
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 |