Add G_MAXSIZE, define in terms of G_MAXUfoo.

Sun Jan 11 16:13:20 2004  Manish Singh  <yosh@gimp.org>

        * configure.in: Add G_MAXSIZE, define in terms of G_MAXUfoo.

        * tests/type-test.c: Add test for G_MAXSIZE.

        * glibconfig.h.win32.in: Cleanup, add some missing bits.
This commit is contained in:
Manish Singh
2004-01-12 00:16:18 +00:00
committed by Manish Singh
parent 3fa27319e9
commit 31a1fedf68
9 changed files with 63 additions and 4 deletions

View File

@@ -41,6 +41,7 @@ main (int argc,
gushort gus;
guint gui;
gulong gul;
gssize gsz;
gshort gs;
gint gi;
glong gl;
@@ -83,6 +84,10 @@ main (int argc,
gul++;
g_assert (gul == 0);
gsz = G_MAXSIZE;
gsz++;
g_assert (gsz == 0);
gs = G_MAXSHORT;
gs++;
g_assert (gs == G_MINSHORT);