diff options
author | Dan Winship <danw@src.gnome.org> | 2001-04-20 17:08:57 +0000 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-04-20 17:08:57 +0000 |
commit | 655d467602853052251c10a24f1b62ed1cf72793 (patch) | |
tree | 3df9725e02a85cdccfad16aadbab410306a70761 /tests/type-test.c | |
parent | d7daf598001a5d6d1ef2e63ffafba94a443f639d (diff) | |
download | glib-655d467602853052251c10a24f1b62ed1cf72793.tar.gz |
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.
Diffstat (limited to 'tests/type-test.c')
-rw-r--r-- | tests/type-test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/type-test.c b/tests/type-test.c index ade1b86a5..6cea617b3 100644 --- a/tests/type-test.c +++ b/tests/type-test.c @@ -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); |