Mercurial > hg > index.cgi
comparison lwasm/pass5.c @ 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 | 697bc543368c |
children | 8764142b3192 |
comparison
equal
deleted
inserted
replaced
359:f318407d2469 | 360:ade217fd76a5 |
---|