(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 <limits.h>
#endif
#ifdef SIZE_MAX
-# define GC_SIZE_MAX SIZE_MAX
+# define GC_SIZE_MAX ((size_t)SIZE_MAX)
+ /* Extra cast to workaround some buggy SIZE_MAX definitions. */
#else
# define GC_SIZE_MAX (~(size_t)0)
#endif