Re: STDOUT_FILENO and STDERR_FILENO



On 19/05/2013 12:23, John Emmas wrote:
Just updated from Git and tried to build libglib using MSVC. The build fails because a couple of files are now referencing 'STDOUT_FILENO' and/or 'STDERR_FILENO'. From the (admittedly, limited) research I did, it seemed as if they're only relevant for *nix, bash and Wine. Here are the affected source files in case someone wants to check them:-

        glib/gtestutils.c
        gio/tests/filter-cat.c
        gio/tests/gdbus-eavmple-server.c


I've attached a couple of sample patches, either of which should fix the problem for 'glib/gtestutils.c'. I'm not sure which of them would be considered as more preferable..?

John


Attachment: gtestutils.c.alternative-1.patch
Description: Text document

Attachment: gtestutils.c.alternative-2.patch
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]