diff options
| author | Andrew Innes | 2000-02-06 23:37:42 +0000 |
|---|---|---|
| committer | Andrew Innes | 2000-02-06 23:37:42 +0000 |
| commit | 4397e334f1c173a835c8ddcef6c23c85fc9fc91a (patch) | |
| tree | 74248ac39bdf3cc9661fa9b26025a924bdb8ac57 /src | |
| parent | 28dd1b41cc43dba03b9d5d2b5657a6fa1180e802 (diff) | |
| download | emacs-4397e334f1c173a835c8ddcef6c23c85fc9fc91a.tar.gz emacs-4397e334f1c173a835c8ddcef6c23c85fc9fc91a.zip | |
Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
around image definitions and prototypes.
(gamma_correct) [WINDOWSNT]: New prototype.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispextern.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index 63eb3b89063..54b58b77f6d 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -1851,7 +1851,7 @@ extern int (* estimate_mode_line_height_hook) P_ ((struct frame *, | |||
| 1851 | Images | 1851 | Images |
| 1852 | ***********************************************************************/ | 1852 | ***********************************************************************/ |
| 1853 | 1853 | ||
| 1854 | #ifdef HAVE_X_WINDOWS | 1854 | #ifdef HAVE_WINDOW_SYSTEM |
| 1855 | 1855 | ||
| 1856 | /* Structure forward declarations. */ | 1856 | /* Structure forward declarations. */ |
| 1857 | 1857 | ||
| @@ -1987,7 +1987,7 @@ struct image_cache | |||
| 1987 | 1987 | ||
| 1988 | #define IMAGE_CACHE_BUCKETS_SIZE 1001 | 1988 | #define IMAGE_CACHE_BUCKETS_SIZE 1001 |
| 1989 | 1989 | ||
| 1990 | #endif /* HAVE_X_WINDOWS */ | 1990 | #endif /* HAVE_WINDOW_SYSTEM */ |
| 1991 | 1991 | ||
| 1992 | 1992 | ||
| 1993 | 1993 | ||
| @@ -2145,9 +2145,15 @@ extern Lisp_Object Qforeground_color, Qbackground_color; | |||
| 2145 | 2145 | ||
| 2146 | /* Defined in xfns.c */ | 2146 | /* Defined in xfns.c */ |
| 2147 | 2147 | ||
| 2148 | #ifdef HAVE_X_WINDOWS | 2148 | #ifdef HAVE_X_WINDOWS |
| 2149 | |||
| 2150 | void gamma_correct P_ ((struct frame *, XColor *)); | 2149 | void gamma_correct P_ ((struct frame *, XColor *)); |
| 2150 | #endif | ||
| 2151 | #ifdef WINDOWSNT | ||
| 2152 | void gamma_correct P_ ((struct frame *, COLORREF *)); | ||
| 2153 | #endif | ||
| 2154 | |||
| 2155 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 2156 | |||
| 2151 | void x_kill_gs_process P_ ((Pixmap, struct frame *)); | 2157 | void x_kill_gs_process P_ ((Pixmap, struct frame *)); |
| 2152 | int x_screen_planes P_ ((struct frame *)); | 2158 | int x_screen_planes P_ ((struct frame *)); |
| 2153 | void x_implicitly_set_name P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 2159 | void x_implicitly_set_name P_ ((struct frame *, Lisp_Object, Lisp_Object)); |
| @@ -2168,7 +2174,7 @@ EXFUN (Fx_hide_busy_cursor, 1); | |||
| 2168 | extern int inhibit_busy_cursor; | 2174 | extern int inhibit_busy_cursor; |
| 2169 | extern int display_busy_cursor_p; | 2175 | extern int display_busy_cursor_p; |
| 2170 | 2176 | ||
| 2171 | #endif /* HAVE_X_WINDOWS */ | 2177 | #endif /* HAVE_WINDOW_SYSTEM */ |
| 2172 | 2178 | ||
| 2173 | 2179 | ||
| 2174 | /* Defined in xmenu.c */ | 2180 | /* Defined in xmenu.c */ |