]> granicus.if.org Git - gc/commit
Fix GC_SIZE_MAX definition (Linux/musl-gcc)
authorIvan Maidanski <ivmai@mail.ru>
Tue, 14 Mar 2017 22:58:41 +0000 (01:58 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 7 Apr 2017 15:26:53 +0000 (18:26 +0300)
commit17a2e7f574db97672577270cef7f7f2cccab60aa
treedd95f620b6f42d47369f06d885565e5e395ff2e5
parent41d537144522bc6cbd2bff3289bc6e369c7245c9
Fix GC_SIZE_MAX definition (Linux/musl-gcc)
(Cherry-pick commit f40fab8 from 'release-7_6' branch.)

* include/private/gc_priv.h [SIZE_MAX] (GC_SIZE_MAX): Cast
SIZE_MAX to size_t explicitly (to workaround incorrect definition
of SIZE_MAX - e.g. it is defined as ~0ULL in musl-tools which is not
correct for a 32-bit target).
include/private/gc_priv.h