From: YAMAMOTO Mitsuharu Date: Wed, 31 Aug 2005 08:35:44 +0000 (+0000) Subject: [!TARGET_API_MAC_CARBON] (GetPixDepth): New define. X-Git-Tag: emacs-pretest-22.0.90~7338 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=886a6e31bc6c014c196b1c91df10e327f10d032e;p=emacs.git [!TARGET_API_MAC_CARBON] (GetPixDepth): New define. --- 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