diff src/macgui.h @ 65251:bd6366e3f520

[!TARGET_API_MAC_CARBON] (GetPixDepth): New define.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Wed, 31 Aug 2005 08:35:44 +0000
parents a0d1312ede66
children ffb004cd9a2f a3716f7538f2
line wrap: on
line diff
--- a/src/macgui.h	Wed Aug 31 08:35:28 2005 +0000
+++ b/src/macgui.h	Wed Aug 31 08:35:44 2005 +0000
@@ -87,6 +87,10 @@
 
 #define FACE_DEFAULT (~0)
 
+#if !TARGET_API_MAC_CARBON
+#define GetPixDepth(pmh) ((*(pmh))->pixelSize)
+#endif
+
 
 /* Emulate XCharStruct.  */
 typedef struct _XCharStruct