Merge branch 'wip/pwithnall/2565-array-preprocessor' into 'main'

tests: Fix compilation failure on msys2-mingw64

Closes #2565

See merge request GNOME/glib!2419
This commit is contained in:
Nirbheek Chauhan 2022-01-14 14:47:53 +00:00
commit 41d80f5029

View File

@ -1685,7 +1685,7 @@ pointer_array_steal_index (void)
static void static void
byte_array_new_take_overflow (void) byte_array_new_take_overflow (void)
{ {
#if G_MAXSIZE <= G_MAXUINT #if SIZE_WIDTH <= UINT_WIDTH
g_test_skip ("Overflow test requires G_MAXSIZE > G_MAXUINT."); g_test_skip ("Overflow test requires G_MAXSIZE > G_MAXUINT.");
#else #else
GByteArray* arr; GByteArray* arr;