From 375185cf9fca9fca43dab96b336fa356a047a1bb Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Thu, 2 Jan 2003 23:52:44 +0000 Subject: [PATCH] Any Mac that can handle CFM-68K code must have at least a 68020 CPU, and hence be equipped with Color QuickDraw, as are all PowerPC systems. Hence, don't bother with support for basic QuickDraw in the CFM-68K and PowerPC builds. [originally from svn r2431] --- mac/mac.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mac/mac.h b/mac/mac.h index 317b7495..8b79a778 100644 --- a/mac/mac.h +++ b/mac/mac.h @@ -27,7 +27,12 @@ struct mac_gestalts { extern struct mac_gestalts mac_gestalts; +#if TARGET_RT_MAC_CFM +/* All systems that can use CFM have Color QuickDraw */ +#define HAVE_COLOR_QD() 1 +#else #define HAVE_COLOR_QD() (mac_gestalts.qdvers > gestaltOriginalQD) +#endif typedef struct { /* Config that created this session */