Mercurial > emacs
changeset 47996:276c5262e359
[!HAVE_X_WINDOWS]: Define XColor.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Fri, 25 Oct 2002 06:49:15 +0000 |
parents | 69005955972e |
children | fce1df45a956 |
files | src/dispextern.h |
diffstat | 1 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dispextern.h Fri Oct 25 05:58:04 2002 +0000 +++ b/src/dispextern.h Fri Oct 25 06:49:15 2002 +0000 @@ -25,10 +25,23 @@ #define DISPEXTERN_H_INCLUDED #ifdef HAVE_X_WINDOWS + #include <X11/Xlib.h> #ifdef USE_X_TOOLKIT #include <X11/Intrinsic.h> #endif /* USE_X_TOOLKIT */ + +#else /* !HAVE_X_WINDOWS */ + +/* X-related stuff used by non-X gui code. */ + +typedef struct { + unsigned long pixel; + unsigned short red, green, blue; + char flags; + char pad; +} XColor; + #endif /* HAVE_X_WINDOWS */ #ifdef MSDOS