mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Add a check for the Darwin dynamic linker. Use AC_TRY_LINK when checking
* configure.in: Add a check for the Darwin dynamic linker. Use AC_TRY_LINK when checking for "nonposix getpwuid_r" so it notices "no getpwuid_r" correctly. * testglib.c (main): Make template[] bigger to prevent an overrun. Remove an unused variable. Initialize error to NULL. * tests/gio-test.c (main): Add a cast to prevent a warning when size_t is a long. * tests/type-test.c (main): Add an #ifdef to prevent a warning when G_HAVE_GINT64 is defined and G_GINT64_FORMAT isn't.
This commit is contained in:
@@ -52,9 +52,11 @@ main (int argc,
|
||||
#ifdef G_HAVE_GINT64
|
||||
guint64 gu64t1 = G_GINT64_CONSTANT(0x1d636b02300a7aa7U),
|
||||
gu64t2 = G_GINT64_CONSTANT(0xa77a0a30026b631dU);
|
||||
#ifdef G_GINT64_FORMAT
|
||||
gint64 gi64t1;
|
||||
gint64 gi64t2;
|
||||
#endif
|
||||
#endif /* G_GINT64_FORMAT */
|
||||
#endif /* G_HAVE_GINT64 */
|
||||
|
||||
/* type sizes */
|
||||
g_assert (sizeof (gint8) == 1);
|
||||
|
Reference in New Issue
Block a user