]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/tclock.c
ncurses 5.1
[ncurses.git] / test / tclock.c
index 0c79568411be3c99dbd99e72c265457235996b54..838f45e7092045647c2f79bc73199bf5467422b4 100644 (file)
@@ -128,7 +128,7 @@ main(
 
     if (has_colors()) {
        start_color();
-#ifdef NCURSES_VERSION
+#ifdef HAVE_USE_DEFAULT_COLORS
        if (use_default_colors() == OK)
            my_bg = -1;
 #endif