diff options
author | Thomas Voss <mail@thomasvoss.com> | 2021-10-12 17:59:37 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2021-10-12 17:59:37 +0200 |
commit | 11a2560513e114ae30904f0598c4732aeac1972a (patch) | |
tree | 15643f492e57cae1e5a9a858f2f13b3fa5633335 /macros.m4 |
[Meta] Initial commit
Diffstat (limited to 'macros.m4')
-rw-r--r-- | macros.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/macros.m4 b/macros.m4 new file mode 100644 index 0000000..068ff3e --- /dev/null +++ b/macros.m4 @@ -0,0 +1,4 @@ +define(`m4_len', defn(`len')) +undefine(`len') +define(`WRITE_HEADER', + `w.WriteHeader($1); ifelse(eval(m4_len($2) == 0), 0, fmt.Fprintln(w, $2);) return;') |