Any Mac that can handle CFM-68K code must have at least a 68020 CPU, and hence
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Thu, 2 Jan 2003 23:52:44 +0000 (23:52 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Thu, 2 Jan 2003 23:52:44 +0000 (23:52 +0000)
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.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2431 cda61777-01e9-0310-a592-d414129be87e

mac/mac.h

index 317b749..8b79a77 100644 (file)
--- 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 */