diff src/dispextern.h @ 27626:79dc811783de

Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM, around image definitions and prototypes. (gamma_correct) [WINDOWSNT]: New prototype.
author Andrew Innes <andrewi@gnu.org>
date Sun, 06 Feb 2000 23:37:42 +0000
parents 0ce3afff8247
children d27071a76f5e
line wrap: on
line diff
--- a/src/dispextern.h	Sun Feb 06 23:37:34 2000 +0000
+++ b/src/dispextern.h	Sun Feb 06 23:37:42 2000 +0000
@@ -1851,7 +1851,7 @@
 				Images
  ***********************************************************************/
 
-#ifdef HAVE_X_WINDOWS
+#ifdef HAVE_WINDOW_SYSTEM
 
 /* Structure forward declarations.  */
 
@@ -1987,7 +1987,7 @@
 
 #define IMAGE_CACHE_BUCKETS_SIZE 1001
 
-#endif /* HAVE_X_WINDOWS */
+#endif /* HAVE_WINDOW_SYSTEM */
 
 
 
@@ -2145,9 +2145,15 @@
 
 /* Defined in xfns.c  */
 
-#ifdef HAVE_X_WINDOWS 
-
+#ifdef HAVE_X_WINDOWS
 void gamma_correct P_ ((struct frame *, XColor *));
+#endif
+#ifdef WINDOWSNT
+void gamma_correct P_ ((struct frame *, COLORREF *));
+#endif
+
+#ifdef HAVE_WINDOW_SYSTEM
+
 void x_kill_gs_process P_ ((Pixmap, struct frame *));
 int x_screen_planes P_ ((struct frame *));
 void x_implicitly_set_name P_ ((struct frame *, Lisp_Object, Lisp_Object));
@@ -2168,7 +2174,7 @@
 extern int inhibit_busy_cursor;
 extern int display_busy_cursor_p;
 
-#endif /* HAVE_X_WINDOWS */
+#endif /* HAVE_WINDOW_SYSTEM */
 
 
 /* Defined in xmenu.c  */