X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Fgnushogi.h;h=39c07154f67d254f16b98b908292aa43e7b0abf3;hb=db669bbcd569f6ee2a8b0dafc307e8d3e52d0708;hp=13dea78933f5eaa8265d6aeb7e767445d6de8d03;hpb=9009c8ba46a421e738d3ea57564e2df44dcaf3c5;p=gnushogi.git diff --git a/gnushogi/gnushogi.h b/gnushogi/gnushogi.h index 13dea78..39c0715 100644 --- a/gnushogi/gnushogi.h +++ b/gnushogi/gnushogi.h @@ -47,7 +47,13 @@ * Display options. */ -typedef enum { DISPLAY_RAW, DISPLAY_CURSES, DISPLAY_X } display_t; +typedef enum { + DISPLAY_RAW, +#ifdef HAVE_LIBCURSES + DISPLAY_CURSES, +#endif + DISPLAY_X +} display_t; extern display_t display_type; #define XSHOGI (display_type == DISPLAY_X)