X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fknight.c;h=ad923b42b1de37a08ac68ee026f4afef8d442519;hp=fe3101198776b365590c73176df9f4c64b425a66;hb=b1f61d9f3aa244512045a6b02e759825d7049d34;hpb=0eb88fc5281804773e2a0c7a488a4452463535ce diff --git a/test/knight.c b/test/knight.c index fe310119..ad923b42 100644 --- a/test/knight.c +++ b/test/knight.c @@ -6,7 +6,7 @@ * Eric S. Raymond July 22 1995. Mouse support * added September 20th 1995. * - * $Id: knight.c,v 1.14 1997/08/20 16:22:38 hjl Exp $ + * $Id: knight.c,v 1.15 1999/11/13 23:39:10 tom Exp $ */ #include @@ -98,7 +98,7 @@ static void init (void) int bg = COLOR_BLACK; start_color(); -#ifdef NCURSES_VERSION +#ifdef HAVE_USE_DEFAULT_COLORS if (use_default_colors() == OK) bg = -1; #endif