Mercurial > hg > index.cgi
comparison 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 |
comparison
equal
deleted
inserted
replaced
359:f318407d2469 | 360:ade217fd76a5 |
---|