summaryrefslogtreecommitdiffstats
path: root/lib/colors.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/colors.c')
-rw-r--r--lib/colors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/colors.c b/lib/colors.c
index e5a27ba25..99e2228ed 100644
--- a/lib/colors.c
+++ b/lib/colors.c
@@ -822,7 +822,7 @@ int colormode_or_err(const char *str, const char *errmsg)
return colormode;
}
-#ifdef TEST_PROGRAM
+#ifdef TEST_PROGRAM_COLORS
# include <getopt.h>
int main(int argc, char *argv[])
{
@@ -876,5 +876,5 @@ int main(int argc, char *argv[])
return EXIT_SUCCESS;
}
-#endif
+#endif /* TEST_PROGRAM_COLORS */