Commit 58826ef7 authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu
Browse files

[USE_ATSUI && MAC_OSX]: Define USE_CG_TEXT_DRAWING to 1.

parent 1599821a
......@@ -79,6 +79,18 @@ typedef unsigned long Time;
#include <Gestalt.h>
#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
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment