From: Matthias Clasen Date: Sat, 16 Dec 2006 03:33:23 +0000 (+0000) Subject: Undefine READ_OK to fix the build on old versions of Darwin. (#327800) X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=814f0bec5c3869e23fcb3f9c0f2d2701cc60fae4;p=dana%2Fcg-glib.git Undefine READ_OK to fix the build on old versions of Darwin. (#327800) 2006-12-15 Matthias Clasen * glib/gspawn.c: Undefine READ_OK to fix the build on old versions of Darwin. (#327800) --- diff --git a/ChangeLog b/ChangeLog index 05278341..f26f6784 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-12-15 Matthias Clasen + * glib/gspawn.c: Undefine READ_OK to fix the build on + old versions of Darwin. (#327800) + * glib/glib.symbols: * glib/gstring.[hc] (g_string_chunk_clear): Add a function for clearing a GStringChunk. (#364608, Matt Barnes) diff --git a/glib/gspawn.c b/glib/gspawn.c index 39244834..a48b8d3a 100644 --- a/glib/gspawn.c +++ b/glib/gspawn.c @@ -129,6 +129,8 @@ close_and_invalidate (gint *fd) return ret; } +#undef READ_OK + typedef enum { READ_FAILED = 0, /* FALSE */