GNOME Bugzilla – Bug 669538
Fix compilation (eliminate warnings) of glib-compile-resources.c on Windows
Last modified: 2012-02-10 00:59:19 UTC
Created attachment 206954 [details] [review] glib-compile-resources.c: Include io.h on Windows Hi, I have added Visual C++ projects to compile the new GResource tools on Windows, and found that glib-compile-resources.c required a minor update to avoid C4013 (aka Implicit declaration of ...) warnings/errors for close(), namely to include io.h on that platform. The enclosed trivial patch does that. p.s. A quick question-will it be better to dist the generated gconstructor_as_data.h instead of generating it in the Visual C++ projects, which will require an additional dependency on a PERL installation? With blessings. Thank you!
Review of attachment 206954 [details] [review]: Patch looks fine
Includeing a generated header file sounds fine to me.
Hi, The attachment 206954 [details] [review] was pushed as d4e3ae9. With blessings-thank you!