mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
gio/tests: GStatBuf.st_size is 64 bits on win64
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
ae1cccaa0a
commit
89539d9ae0
@ -654,7 +654,11 @@ test_internal_enhanced_stdio (void)
|
||||
g_assert_cmpuint (alsize_ps, <, 0x40000000);
|
||||
g_assert_cmpuint (size_ps, >, G_GUINT64_CONSTANT (0xFFFFFFFF));
|
||||
g_assert_cmpuint (statbuf_ps.st_size, >, 0);
|
||||
#if defined(_WIN64)
|
||||
g_assert_cmpuint (statbuf_ps.st_size, ==, G_GUINT64_CONSTANT (0x10000000f));
|
||||
#else
|
||||
g_assert_cmpuint (statbuf_ps.st_size, <=, 0xFFFFFFFF);
|
||||
#endif
|
||||
|
||||
g_object_unref (fi_ps);
|
||||
g_object_unref (gf_ps);
|
||||
|
Loading…
Reference in New Issue
Block a user