tests: Fix compilation failure on msys2-mingw64
This is a follow-up from commit 995823b9, which added the condition
to the array test. On most platforms, both of those symbols are numeric
literals, but on 64-bit Windows G_MAXSIZE
includes some widening
casts, which means it can’t be used in a preprocessor condition.
We don’t expose an appropriate symbol in glibconfig.h
which could be
used instead, but the standard *_WIDTH
symbols from limits.h
will be
identical and can be used instead.
Signed-off-by: Philip Withnall pwithnall@endlessos.org
Fixes: #2565 (closed)