aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2006-03-12 08:20:24 +0000
committerYAMAMOTO Mitsuharu2006-03-12 08:20:24 +0000
commit58826ef7132ee12ecddc391df121a27666c5fca6 (patch)
tree3a24a73d23dcb3dfed7cc3be890589925d8244cb /src
parent1599821a5c8d6eee6066a0cfb497eaba7fc579e7 (diff)
downloademacs-58826ef7132ee12ecddc391df121a27666c5fca6.tar.gz
emacs-58826ef7132ee12ecddc391df121a27666c5fca6.zip
[USE_ATSUI && MAC_OSX]: Define USE_CG_TEXT_DRAWING to 1.
Diffstat (limited to 'src')
-rw-r--r--src/macgui.h18
1 files 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;
79#include <Gestalt.h> 79#include <Gestalt.h>
80#endif /* not HAVE_CARBON */ 80#endif /* not HAVE_CARBON */
81 81
82#ifndef USE_CG_TEXT_DRAWING
83#if USE_ATSUI && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030
84#define USE_CG_TEXT_DRAWING 1
85#endif
86#endif
87
88#ifndef USE_CG_DRAWING
89#if USE_ATSUI && defined (MAC_OSX)
90#define USE_CG_DRAWING 1
91#endif
92#endif
93
82typedef WindowPtr Window; 94typedef WindowPtr Window;
83typedef GWorldPtr Pixmap; 95typedef GWorldPtr Pixmap;
84 96
@@ -92,12 +104,6 @@ typedef GWorldPtr Pixmap;
92#endif 104#endif
93 105
94 106
95#ifndef USE_CG_TEXT_DRAWING
96#if USE_ATSUI && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030
97#define USE_CG_TEXT_DRAWING 1
98#endif
99#endif
100
101/* Emulate XCharStruct. */ 107/* Emulate XCharStruct. */
102typedef struct _XCharStruct 108typedef struct _XCharStruct
103{ 109{