summaryrefslogtreecommitdiff
path: root/make.h
diff options
context:
space:
mode:
Diffstat (limited to 'make.h')
-rw-r--r--make.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/make.h b/make.h
index d5bbe7e..b170d59 100644
--- a/make.h
+++ b/make.h
@@ -298,6 +298,8 @@ extern char *alloca ();
# define strieq(a, b) (strcmp ((a), (b)) == 0)
#endif
+#define strneq(a, b, n) (strncmp((a), (b), (n)) == 0)
+
/* Add to VAR the hashing value of C, one character in a name. */
#define HASH(var, c) \
((var += (c)), (var = ((var) << 7) + ((var) >> 20)))