Mercurial > hg > index.cgi
diff lwlib/lw_stack.h @ 360:ade217fd76a5
Use #define instead of const int to avoid issues with some compilers
It's not strictly kosher in older C specs to use a "const int" to define an
array. For improved portability, switch several "const int" constants to
"#define" constants to avoid such problems.
Thanks to Erik G <erik@6809.org> for pointing this out.
author | William Astle <lost@l-w.ca> |
---|---|
date | Tue, 26 May 2015 17:51:00 -0600 |
parents | 00ddfdc1e1e3 |
children | 8e25147c2aa8 |