Undefine READ_OK to fix the build on old versions of Darwin. (#327800)
authorMatthias Clasen <mclasen@redhat.com>
Sat, 16 Dec 2006 03:33:23 +0000 (03:33 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 16 Dec 2006 03:33:23 +0000 (03:33 +0000)
2006-12-15  Matthias Clasen  <mclasen@redhat.com>

* glib/gspawn.c: Undefine READ_OK to fix the build on
old versions of Darwin.  (#327800)

ChangeLog
glib/gspawn.c

index 0527834..f26f678 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-12-15  Matthias Clasen  <mclasen@redhat.com>
 
+       * 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)
index 3924483..a48b8d3 100644 (file)
@@ -129,6 +129,8 @@ close_and_invalidate (gint *fd)
   return ret;
 }
 
+#undef READ_OK
+
 typedef enum
 {
   READ_FAILED = 0, /* FALSE */