summaryrefslogtreecommitdiff
path: root/lib/argp-parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/argp-parse.c')
-rw-r--r--lib/argp-parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/argp-parse.c b/lib/argp-parse.c
index 3b411d407b..6bbb14578b 100644
--- a/lib/argp-parse.c
+++ b/lib/argp-parse.c
@@ -880,11 +880,11 @@ __argp_parse (const struct argp *argp, int argc, char **argv, unsigned flags,
#ifndef _LIBC
if (!(flags & ARGP_PARSE_ARGV0))
{
-#ifdef HAVE_DECL_PROGRAM_INVOCATION_NAME
+#if HAVE_DECL_PROGRAM_INVOCATION_NAME
if (!program_invocation_name)
program_invocation_name = argv[0];
#endif
-#ifdef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
+#if HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
if (!program_invocation_short_name)
program_invocation_short_name = __argp_base_name (argv[0]);
#endif