aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Innes2000-02-06 23:37:42 +0000
committerAndrew Innes2000-02-06 23:37:42 +0000
commit4397e334f1c173a835c8ddcef6c23c85fc9fc91a (patch)
tree74248ac39bdf3cc9661fa9b26025a924bdb8ac57 /src
parent28dd1b41cc43dba03b9d5d2b5657a6fa1180e802 (diff)
downloademacs-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.h16
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
2150void gamma_correct P_ ((struct frame *, XColor *)); 2149void gamma_correct P_ ((struct frame *, XColor *));
2150#endif
2151#ifdef WINDOWSNT
2152void gamma_correct P_ ((struct frame *, COLORREF *));
2153#endif
2154
2155#ifdef HAVE_WINDOW_SYSTEM
2156
2151void x_kill_gs_process P_ ((Pixmap, struct frame *)); 2157void x_kill_gs_process P_ ((Pixmap, struct frame *));
2152int x_screen_planes P_ ((struct frame *)); 2158int x_screen_planes P_ ((struct frame *));
2153void x_implicitly_set_name P_ ((struct frame *, Lisp_Object, Lisp_Object)); 2159void x_implicitly_set_name P_ ((struct frame *, Lisp_Object, Lisp_Object));
@@ -2168,7 +2174,7 @@ EXFUN (Fx_hide_busy_cursor, 1);
2168extern int inhibit_busy_cursor; 2174extern int inhibit_busy_cursor;
2169extern int display_busy_cursor_p; 2175extern 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 */