From 3ec33130452a969bf164f29279e84b2314a04eb5 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Fri, 4 Mar 2005 11:06:42 +0000 Subject: [PATCH] (main): Change `#ifdef HAVE_CARBON' to `#if defined (MAC_OSX) && defined (HAVE_CARBON)'. --- src/emacs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/emacs.c b/src/emacs.c index 75196d83159..eef51a56967 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -1482,7 +1482,7 @@ main (argc, argv init_ntproc (); /* must precede init_editfns. */ #endif -#ifdef HAVE_CARBON +#if defined (MAC_OSX) && defined (HAVE_CARBON) if (initialized) init_mac_osx_environment (); #endif @@ -1626,12 +1626,12 @@ main (argc, argv syms_of_fontset (); #endif /* HAVE_NTGUI */ -#ifdef HAVE_CARBON +#if defined (MAC_OSX) && defined (HAVE_CARBON) syms_of_macterm (); syms_of_macfns (); syms_of_macmenu (); syms_of_fontset (); -#endif /* HAVE_CARBON */ +#endif /* MAC_OSX && HAVE_CARBON */ #ifdef SYMS_SYSTEM SYMS_SYSTEM; -- 2.39.2