diff options
author | Demi Obenour <demiobenour@gmail.com> | 2017-05-02 19:18:14 -0400 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2017-05-03 16:16:37 -0400 |
commit | d564d454770bfdb38a1632516f83c0aab7fa3c07 (patch) | |
tree | 276771b1bcb350a6031d105c209963c867b9e89e /src/main.c | |
parent | ba530cd52fa2d69ddf7194459445a19fc9648014 (diff) |
Don't leak macro definitions into header files
This allowed unnamespaced definitions to leak into header files,
breaking client code.
Fixes #142
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -310,8 +310,8 @@ void check_options (void) } } - if (extra_type) - buf_m4_define( &m4defs_buf, "M4_EXTRA_TYPE_DEFS", extra_type); + if (extra_type) + buf_m4_define( &m4defs_buf, "M4_EXTRA_TYPE_DEFS", extra_type); if (!use_stdout) { FILE *prev_stdout; |