]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/rain.c
ncurses 5.1
[ncurses.git] / test / rain.c
index 646ab96ee639f7b10af6dc42fa260287fbe22309..262f87d279b95d122954c1cb0617a8360417e4bb 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rain.c,v 1.13 1999/10/23 01:31:26 tom Exp $
+ * $Id: rain.c,v 1.14 1999/11/13 23:39:07 tom Exp $
  */
 #include <test.priv.h>
 
@@ -42,7 +42,7 @@ float c;
     if (has_colors()) {
        int bg = COLOR_BLACK;
        start_color();
-#ifdef NCURSES_VERSION
+#ifdef HAVE_USE_DEFAULT_COLORS
        if (use_default_colors() == OK)
                bg = -1;
 #endif