]> code.delx.au - gnu-emacs/commitdiff
2002-08-25 Andrew Choi <akochoi@shaw.ca>
authorAndrew Choi <akochoi@shaw.ca>
Sun, 25 Aug 2002 17:15:26 +0000 (17:15 +0000)
committerAndrew Choi <akochoi@shaw.ca>
Sun, 25 Aug 2002 17:15:26 +0000 (17:15 +0000)
        * 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.

src/ChangeLog
src/emacs.c
src/s/darwin.h

index df59a27aef1f3bf20b0a0daef99a6201b664cf16..a6e41b4bc753b8f6799663f40f945dbece20a7e7 100644 (file)
@@ -1,7 +1,11 @@
 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
index 63a94306e4eab18ae14210156d1d33e116c01684..cf48bf28da4ce43e101e507d030e0df53c7b5e2a 100644 (file)
@@ -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
index dcfb00a568ef27f0304cbdae435ad0dddc126361..6fd4b94dde0d9f914117fdc5022f0b9040333b97 100644 (file)
@@ -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