X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fhanoi.c;h=23a864624b012b62f2490c646008faaaa89bd50a;hp=3ee64b0a0d1453017e05f9271e55fe7c91e053e6;hb=b1f61d9f3aa244512045a6b02e759825d7049d34;hpb=0eb88fc5281804773e2a0c7a488a4452463535ce diff --git a/test/hanoi.c b/test/hanoi.c index 3ee64b0a..23a86462 100644 --- a/test/hanoi.c +++ b/test/hanoi.c @@ -14,7 +14,7 @@ * * Date: 05.Nov.90 * - * $Id: hanoi.c,v 1.16 1999/10/23 15:01:01 tom Exp $ + * $Id: hanoi.c,v 1.18 2000/04/01 20:01:08 tom Exp $ */ #include @@ -97,7 +97,7 @@ unsigned char AutoFlag = 0; Usage(); return EXIT_FAILURE; } -#ifdef NCURSES_VERSION +#ifdef TRACE trace(TRACE_MAXIMUM); #endif initscr(); @@ -105,7 +105,7 @@ unsigned char AutoFlag = 0; int i; int bg = COLOR_BLACK; start_color(); -#ifdef NCURSES_VERSION +#ifdef HAVE_USE_DEFAULT_COLORS if (use_default_colors() == OK) bg = -1; #endif