diff options
author | Paul Smith <psmith@gnu.org> | 2012-03-04 08:58:44 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2012-03-04 08:58:44 +0000 |
commit | 76827d7c10c2708a3147171b02bfe3981492a38f (patch) | |
tree | 1e60aeb7b2ab1bc2573b9d436b539b0f6f52f160 /variable.h | |
parent | eb632d7676e92fd5750413ab6a6d16f3a6fda5c4 (diff) | |
download | gunmake-76827d7c10c2708a3147171b02bfe3981492a38f.tar.gz |
Create a new CSTRLEN (constant string length) macro, and use it.
Diffstat (limited to 'variable.h')
-rw-r--r-- | variable.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -235,4 +235,4 @@ struct pattern_var *create_pattern_var (const char *target, extern int export_all_variables; #define MAKELEVEL_NAME "MAKELEVEL" -#define MAKELEVEL_LENGTH (sizeof (MAKELEVEL_NAME) - 1) +#define MAKELEVEL_LENGTH (CSTRLEN (MAKELEVEL_NAME)) |