summaryrefslogtreecommitdiff
path: root/m4/m4private.h
diff options
context:
space:
mode:
Diffstat (limited to 'm4/m4private.h')
-rw-r--r--m4/m4private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/m4private.h b/m4/m4private.h
index 0ee10e24..f7b47f85 100644
--- a/m4/m4private.h
+++ b/m4/m4private.h
@@ -619,6 +619,9 @@ extern void m4__include_init (m4 *);
casting away any const. */
#define DELETE(Expr) ((Expr) = (free ((void *) (Expr)), (void *) 0))
+/* Avoid negative logic when comparing two strings. */
+#define STREQ(a, b) (strcmp (a, b) == 0)
+
#if DEBUG
# define DEBUG_INCL 1