From 886a6e31bc6c014c196b1c91df10e327f10d032e Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Wed, 31 Aug 2005 08:35:44 +0000 Subject: [PATCH] [!TARGET_API_MAC_CARBON] (GetPixDepth): New define. --- src/macgui.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/macgui.h b/src/macgui.h index 9591b7a8e3d..607890317e1 100644 --- a/src/macgui.h +++ b/src/macgui.h @@ -87,6 +87,10 @@ typedef GWorldPtr Pixmap; #define FACE_DEFAULT (~0) +#if !TARGET_API_MAC_CARBON +#define GetPixDepth(pmh) ((*(pmh))->pixelSize) +#endif + /* Emulate XCharStruct. */ typedef struct _XCharStruct -- 2.39.2