diff options
author | Paul Smith <psmith@gnu.org> | 2022-10-23 14:00:08 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2022-10-23 18:41:50 -0400 |
commit | 6f8da5f4b86a679143d6f6b99e8cfcc1f19a0593 (patch) | |
tree | c828543c20203b01688fa2138b5b8c2a815330fd /src/rule.c | |
parent | c46b5a9e0e06678052d4561401eea96d2f677d05 (diff) | |
download | make-git-6f8da5f4b86a679143d6f6b99e8cfcc1f19a0593.tar.gz |
* src/rule.c (get_rule_defn): Don't use STRING_SIZE_TUPLE in mempcpy
If mempcpy() is a macro then STRING_SIZE_TUPLE won't compile.
Diffstat (limited to 'src/rule.c')
-rw-r--r-- | src/rule.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -94,7 +94,7 @@ get_rule_defn (struct rule *r) if (dep->ignore_mtime == 0) { if (dep->wait_here) - p = mempcpy (p, STRING_SIZE_TUPLE (" .WAIT")); + p = mempcpy (p, " .WAIT", CSTRLEN (" .WAIT")); p = mempcpy (mempcpy (p, " ", 1), dep_name (dep), strlen (dep_name (dep))); } @@ -107,7 +107,7 @@ get_rule_defn (struct rule *r) { p = mempcpy (p, sep, strlen (sep)); if (ood->wait_here) - p = mempcpy (p, STRING_SIZE_TUPLE (".WAIT ")); + p = mempcpy (p, ".WAIT ", CSTRLEN (".WAIT ")); p = mempcpy (p, dep_name (ood), strlen (dep_name (ood))); } *p = '\0'; |