diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/macgui.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; | |||
| 87 | 87 | ||
| 88 | #define FACE_DEFAULT (~0) | 88 | #define FACE_DEFAULT (~0) |
| 89 | 89 | ||
| 90 | #if !TARGET_API_MAC_CARBON | ||
| 91 | #define GetPixDepth(pmh) ((*(pmh))->pixelSize) | ||
| 92 | #endif | ||
| 93 | |||
| 90 | 94 | ||
| 91 | /* Emulate XCharStruct. */ | 95 | /* Emulate XCharStruct. */ |
| 92 | typedef struct _XCharStruct | 96 | typedef struct _XCharStruct |