Workaround 'variable hides enumerator with same name' cppcheck warnings
authorIvan Maidanski <ivmai@mail.ru>
Tue, 18 Oct 2016 10:19:09 +0000 (13:19 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 18 Oct 2016 10:19:27 +0000 (13:19 +0300)
commitd6637c91fb36bd165a227b5f75d470d2e7cd1960
tree6a12201bdeb0a12fbc4152894e3cebb3c70b26b1
parentb36c0d1c9710075d02f3dac32dd8b1b8e8979301
Workaround 'variable hides enumerator with same name' cppcheck warnings

* include/new_gc_alloc.h (GC_bytes_per_word, GC_word_alignment): Define
as const unsigned (instead of single-item enum) if CPPCHECK.
include/new_gc_alloc.h