# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1125477344 0 # Node ID bd6366e3f5205f499d5594090d1918213d1c5e33 # Parent 8105f38368d5ab2c978a0289fbd2ccb30f91857a [!TARGET_API_MAC_CARBON] (GetPixDepth): New define. diff -r 8105f38368d5 -r bd6366e3f520 src/macgui.h --- 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