From: YAMAMOTO Mitsuharu Date: Sun, 12 Mar 2006 08:20:24 +0000 (+0000) Subject: [USE_ATSUI && MAC_OSX]: Define USE_CG_TEXT_DRAWING to 1. X-Git-Tag: emacs-pretest-22.0.90~3648 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=58826ef7132ee12ecddc391df121a27666c5fca6;p=emacs.git [USE_ATSUI && MAC_OSX]: Define USE_CG_TEXT_DRAWING to 1. --- diff --git a/src/macgui.h b/src/macgui.h index a84fea1ae91..7eb6c9942ab 100644 --- a/src/macgui.h +++ b/src/macgui.h @@ -79,6 +79,18 @@ typedef unsigned long Time; #include #endif /* not HAVE_CARBON */ +#ifndef USE_CG_TEXT_DRAWING +#if USE_ATSUI && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 +#define USE_CG_TEXT_DRAWING 1 +#endif +#endif + +#ifndef USE_CG_DRAWING +#if USE_ATSUI && defined (MAC_OSX) +#define USE_CG_DRAWING 1 +#endif +#endif + typedef WindowPtr Window; typedef GWorldPtr Pixmap; @@ -92,12 +104,6 @@ typedef GWorldPtr Pixmap; #endif -#ifndef USE_CG_TEXT_DRAWING -#if USE_ATSUI && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 -#define USE_CG_TEXT_DRAWING 1 -#endif -#endif - /* Emulate XCharStruct. */ typedef struct _XCharStruct {