mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
Fix a build problem on OS X.
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user