aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2022-07-04 13:43:27 +0000
committerOmar Polo <op@omarpolo.com>2022-07-04 13:43:27 +0000
commit225686d7fdf2e39c2152afc7561234c0f9de034b (patch)
tree8e0552a09a2a3b08067022f5060497b87a48ce68
parenta3ebbccb8eda291462423682348e7031fb77a454 (diff)
fix getprogname shim
HAVE_PROGRAM_INVOCATION_SHORT_NAME is always defined; look at wether it's zero or not.
-rw-r--r--compat/getprogname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/getprogname.c b/compat/getprogname.c
index a243233..ea7c2a3 100644
--- a/compat/getprogname.c
+++ b/compat/getprogname.c
@@ -16,7 +16,7 @@
#include "../config.h"
-#ifdef HAVE_PROGRAM_INVOCATION_SHORT_NAME
+#if HAVE_PROGRAM_INVOCATION_SHORT_NAME
#include <errno.h>