+2002-10-23 Juanma Barranquero <lektu@terra.es>
+
+ Patch suggested by Jay Finger <jay_finger@hotmail.com>.
+
+ * w32term.c (w32_term_init): Pass XColor to w32_define_color, not
+ COLORREF.
+
+ * macgui.h:
+ * w32gui.h: Add definition of XColor.
+
+ * macfns.c:
+ * w32fns.c:
+ * xfaces.c: Remove definition of XColor.
+
2002-10-21 Stefan Monnier <monnier@cs.yale.edu>
* casefiddle.c (casify_region): Don't treat a prefix char as part
extern int w32_console_toggle_lock_key (int vk_code, Lisp_Object new_state);
extern int quit_char;*/
-/* 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
-
extern char *lispy_function_keys[];
/* The gray bitmap `bitmaps/gray'. This is done because macterm.c uses
extern int quit_char;
-/* 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
-
extern char *lispy_function_keys[];
/* The gray bitmap `bitmaps/gray'. This is done because w32term.c uses
#define FACE_CACHE_BUCKETS_SIZE 1001
-/* 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 /* not HAVE_X_WINDOWS */
-
/* Keyword symbols used for face attribute names. */
Lisp_Object QCfamily, QCheight, QCweight, QCslant, QCunderline;