From 58826ef7132ee12ecddc391df121a27666c5fca6 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Sun, 12 Mar 2006 08:20:24 +0000 Subject: [PATCH] [USE_ATSUI && MAC_OSX]: Define USE_CG_TEXT_DRAWING to 1. --- src/macgui.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) 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 { -- 2.39.2