changeset 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 8105f38368d5
children a5c9f3938a21
files src/macgui.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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