summaryrefslogtreecommitdiff
path: root/rpmspec.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2022-06-15 16:16:37 +0300
committerPanu Matilainen <pmatilai@redhat.com>2022-06-15 16:24:51 +0300
commit48d0fa954ca1629ffb0092b9c00555570241d6a0 (patch)
tree4ef09f061400e41b78eaf74e37d6d2611325f414 /rpmspec.c
parent9ca1077c3854967c88ac70082c8b5d392d0c3cdf (diff)
downloadrpm-48d0fa954ca1629ffb0092b9c00555570241d6a0.tar.gz
Test for preprocessor definition rather than value consistently everywhere
This is not supposed to actually change anything as such but inconsistency is bad and causes other kinds of headaches.
Diffstat (limited to 'rpmspec.c')
-rw-r--r--rpmspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmspec.c b/rpmspec.c
index 0076de656..cf58de80e 100644
--- a/rpmspec.c
+++ b/rpmspec.c
@@ -30,7 +30,7 @@ static struct poptOption specOptsTable[] = {
N_("parse spec file(s) to stdout"), NULL },
{ "query", 'q', POPT_ARG_VAL, &mode, MODE_QUERY,
N_("query spec file(s)"), NULL },
-#if HAVE_READLINE
+#ifdef HAVE_READLINE
{ "shell", 0, POPT_ARG_VAL, &mode, MODE_SHELL,
N_("interactive macro shell"), NULL },
#endif