mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
Fix a build problem on OS X.
This commit is contained in:
parent
3439650dd1
commit
4a71102e70
@ -1,3 +1,8 @@
|
||||
2006-01-06 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gslice.c: Only define _XOPEN_SOURCE if we know
|
||||
that we have posix_memalign(). (#323937, Bogdan Nicula)
|
||||
|
||||
2006-01-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Bump version
|
||||
|
@ -1,3 +1,8 @@
|
||||
2006-01-06 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gslice.c: Only define _XOPEN_SOURCE if we know
|
||||
that we have posix_memalign(). (#323937, Bogdan Nicula)
|
||||
|
||||
2006-01-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Bump version
|
||||
|
@ -1,3 +1,8 @@
|
||||
2006-01-06 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gslice.c: Only define _XOPEN_SOURCE if we know
|
||||
that we have posix_memalign(). (#323937, Bogdan Nicula)
|
||||
|
||||
2006-01-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Bump version
|
||||
|
@ -17,7 +17,9 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/* MT safe */
|
||||
#ifdef HAVE_POSIX_MEMALIGN
|
||||
#define _XOPEN_SOURCE 600 /* posix_memalign() */
|
||||
#endif
|
||||
#include <stdlib.h> /* posix_memalign() */
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
Loading…
Reference in New Issue
Block a user