only define _XOPEN_SOURCE to 600 to get at posix_memalign() in case we

Tue Feb 14 17:00:43 2006  Tim Janik  <timj@imendio.com>

        * glib/gslice.c: only define _XOPEN_SOURCE to 600 to get at
        posix_memalign() in case we actually are going to use it, because
        we detected a compliant implementation (#328997).

        * configure.in (enable_included_printf): don't include malloc.h when
        testing for posix_memalign() funcitonality, since this may break the
        test on some systems (#328997).
This commit is contained in:
Tim Janik
2006-02-14 16:31:37 +00:00
committed by Tim Janik
parent 16d640b06c
commit 8a8f185feb
5 changed files with 37 additions and 7 deletions

View File

@@ -1,3 +1,13 @@
Tue Feb 14 17:00:43 2006 Tim Janik <timj@imendio.com>
* glib/gslice.c: only define _XOPEN_SOURCE to 600 to get at
posix_memalign() in case we actually are going to use it, because
we detected a compliant implementation (#328997).
* configure.in (enable_included_printf): don't include malloc.h when
testing for posix_memalign() funcitonality, since this may break the
test on some systems (#328997).
2006-02-14 Matthias Clasen <mclasen@redhat.com>
* glib/gstrfuncs.c: Improve docs.