Mercurial > hg > index.cgi
view COPYING @ 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 | 4e12d881df85 |
children | 659e0e4ce50c |
line wrap: on
line source
See the file GPL3 for a copy of the GNU General Public License, version 3, under which the majority of this distribution is licensed. Some specific source files, including many of those in the lwcc subdirectory are licensed differently. See each individual file for specific details.