summaryrefslogtreecommitdiff
path: root/make.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2012-03-04 08:58:44 +0000
committerPaul Smith <psmith@gnu.org>2012-03-04 08:58:44 +0000
commit76827d7c10c2708a3147171b02bfe3981492a38f (patch)
tree1e60aeb7b2ab1bc2573b9d436b539b0f6f52f160 /make.h
parenteb632d7676e92fd5750413ab6a6d16f3a6fda5c4 (diff)
downloadgunmake-76827d7c10c2708a3147171b02bfe3981492a38f.tar.gz
Create a new CSTRLEN (constant string length) macro, and use it.
Diffstat (limited to 'make.h')
-rw-r--r--make.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/make.h b/make.h
index f890363..74b7555 100644
--- a/make.h
+++ b/make.h
@@ -371,7 +371,8 @@ struct floc
};
#define NILF ((struct floc *)0)
-#define STRING_SIZE_TUPLE(_s) (_s), (sizeof (_s)-1)
+#define CSTRLEN(_s) (sizeof (_s)-1)
+#define STRING_SIZE_TUPLE(_s) (_s), CSTRLEN(_s)
/* We have to have stdarg.h or varargs.h AND v*printf or doprnt to use