diff options
Diffstat (limited to 'src/macgui.h')
| -rw-r--r-- | src/macgui.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/macgui.h b/src/macgui.h index a6ad18fddcf..87c8cc48f04 100644 --- a/src/macgui.h +++ b/src/macgui.h | |||
| @@ -37,6 +37,16 @@ typedef struct OpaqueWindowPtr* Window; | |||
| 37 | typedef WindowPtr Window; | 37 | typedef WindowPtr Window; |
| 38 | #endif | 38 | #endif |
| 39 | 39 | ||
| 40 | /* A definition of XColor for non-X frames. */ | ||
| 41 | #ifndef HAVE_X_WINDOWS | ||
| 42 | typedef struct { | ||
| 43 | unsigned long pixel; | ||
| 44 | unsigned short red, green, blue; | ||
| 45 | char flags; | ||
| 46 | char pad; | ||
| 47 | } XColor; | ||
| 48 | #endif | ||
| 49 | |||
| 40 | #define FACE_DEFAULT (~0) | 50 | #define FACE_DEFAULT (~0) |
| 41 | 51 | ||
| 42 | 52 | ||