include <stdlib.h> and <stddef.h> if STDC_HEADERS is defined.

Wed Jul 26 05:03:24 2000  Tim Janik  <timj@gtk.org>

        * acglib.m4 (GLIB_SIZEOF): include <stdlib.h> and <stddef.h> if
        STDC_HEADERS is defined.

        * glib.h:
        * glibconfig.h: define gsize and gssize in terms of GLIB_SIZEOF_SIZE_T

        * glib.h (g_return_if_reached): applied darin's fix for copy'n
        paste error in the macro implementation.
This commit is contained in:
Tim Janik
2000-07-26 03:18:27 +00:00
committed by Tim Janik
parent 623efc182c
commit cb2f078051
12 changed files with 113 additions and 9 deletions

View File

@@ -36,6 +36,10 @@ changequote([, ])dnl
AC_MSG_CHECKING(size of $2)
AC_CACHE_VAL(AC_CV_NAME,
[AC_TRY_RUN([#include <stdio.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>
#endif
$1
main()
{