GNOME Bugzilla – Bug 769042
'O_CLOEXEC' undeclared (first use in this function)
Last modified: 2016-07-21 15:54:27 UTC
glib 2.49.4 fails to build on Mac OS X 10.6 with this error: gdocumentportal.c: In function ‘g_document_portal_add_document’: gdocumentportal.c:109: error: ‘O_CLOEXEC’ undeclared (first use in this function) O_CLOEXEC was not added to Mac OS X until version 10.7 so it would be nice if you could use an alternative for older systems that don't have this defined. We had this situation in glib once before in bug #712136 and it got fixed. Could it get fixed again? Thanks.