# HG changeset patch # User Andrew Innes # Date 949880262 0 # Node ID 79dc811783decccf5abfefdef2b2a3391d4d3c24 # Parent fa66d09c3310cad4b9b57eefdd93acf678906f7a Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM, around image definitions and prototypes. (gamma_correct) [WINDOWSNT]: New prototype. diff -r fa66d09c3310 -r 79dc811783de src/dispextern.h --- 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 */