mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 15:33:39 +02:00
Some platforms support 64 bit 'long long', but you can not printf or scanf
2000-09-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in, tests/type-test.c: Some platforms support 64 bit 'long long', but you can not printf or scanf them. In that case, don't define G_G{UINT|INT}64_FORMAT. Changed the type-test program to reflect that.
This commit is contained in:
committed by
Sebastian Wilhelmi
parent
6088718e19
commit
abb813df20
@@ -113,7 +113,7 @@ main (int argc,
|
||||
g_assert (gu16t1 == gu16t2);
|
||||
g_assert (gu32t1 == gu32t2);
|
||||
|
||||
#ifdef G_HAVE_GINT64
|
||||
#if defined (G_HAVE_GINT64) && defined (G_GINT64_FORMAT)
|
||||
gi64t1 = G_GINT64_CONSTANT (-0x3AFAFAFAFAFAFAFA);
|
||||
gu64t1 = G_GINT64_CONSTANT (0xFAFAFAFAFAFAFAFA);
|
||||
#define FORMAT64 "%" G_GINT64_FORMAT " %" G_GUINT64_FORMAT "\n"
|
||||
|
Reference in New Issue
Block a user