summaryrefslogtreecommitdiff
path: root/src/macgui.h
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2002-10-23 16:54:36 +0000
committerJuanma Barranquero <lekktu@gmail.com>2002-10-23 16:54:36 +0000
commitb9c3f7eb150b3e91c83c1fccc34de075d8ef9a6d (patch)
tree01d99d75c2b21f5b1cc31712429822b9deab49ae /src/macgui.h
parent316ed8219536370e4c278c388b902bc148cad74b (diff)
downloademacs-b9c3f7eb150b3e91c83c1fccc34de075d8ef9a6d.tar.gz
Add definition of XColor.
Diffstat (limited to 'src/macgui.h')
-rw-r--r--src/macgui.h10
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;
typedef WindowPtr Window;
#endif
+/* A definition of XColor for non-X frames. */
+#ifndef HAVE_X_WINDOWS
+typedef struct {
+ unsigned long pixel;
+ unsigned short red, green, blue;
+ char flags;
+ char pad;
+} XColor;
+#endif
+
#define FACE_DEFAULT (~0)