diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/macgui.h | 18 |
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 | |||
| 82 | typedef WindowPtr Window; | 94 | typedef WindowPtr Window; |
| 83 | typedef GWorldPtr Pixmap; | 95 | typedef 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. */ |
| 102 | typedef struct _XCharStruct | 108 | typedef struct _XCharStruct |
| 103 | { | 109 | { |