]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/xmas.c
ncurses 5.1
[ncurses.git] / test / xmas.c
index 3923c771d97a109fe813daa21f57d051ac146edb..57d42923000cf24d8a53bc99826b98af11984b14 100644 (file)
@@ -92,7 +92,7 @@
 /******************************************************************************/
 
 /*
- * $Id: xmas.c,v 1.12 1998/01/18 01:13:47 tom Exp $
+ * $Id: xmas.c,v 1.13 1999/11/13 23:39:01 tom Exp $
  */
 #include <test.priv.h>
 
@@ -183,7 +183,7 @@ int loopy;
 #endif
        if (has_colors()) {
                start_color();
-#ifdef NCURSES_VERSION
+#ifdef HAVE_USE_DEFAULT_COLORS
                if (use_default_colors() == OK)
                        my_bg = -1;
 #endif