diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-12-16 17:02:31 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-12-17 00:24:52 -0800 |
commit | 10ad4d2ac38c2ac2d16bd7686792715f64f9435e (patch) | |
tree | 091e9e373f5d6b7abd7840faa0b3c25c203bac53 /lib/dfa.h | |
parent | 23c8b490241e9a65c6f67b824946017a2a98a4ca (diff) | |
download | gnulib-10ad4d2ac38c2ac2d16bd7686792715f64f9435e.tar.gz |
dfa: port _GL_ATTRIBUTE_MALLOC to Gawk
Gawk does not use Gnulib, and does not define _GL_ATTRIBUTE_MALLOC.
* lib/dfa.h (_GL_ATTRIBUTE_MALLOC): Define to empty
if not already defined.
Diffstat (limited to 'lib/dfa.h')
-rw-r--r-- | lib/dfa.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -37,6 +37,11 @@ struct dfamust /* The dfa structure. It is completely opaque. */ struct dfa; +/* Needed when Gnulib is not used. */ +#ifndef _GL_ATTRIBUTE_MALLOC +# define _GL_ATTRIBUTE_MALLOC +#endif + /* Entry points. */ /* Allocate a struct dfa. The struct dfa is completely opaque. |