Fix build on Visual C++

-glib/gmarkup.c: Use G_VA_COPY() instead of va_copy() as va_copy() may not
 be universally available.
-gio/gtestdbus.c: Include io.h on Windows for close()
This commit is contained in:
Chun-wei Fan
2012-08-17 19:22:43 +08:00
parent 69124b2dc4
commit 2954f70d39
2 changed files with 4 additions and 1 deletions

View File

@@ -30,6 +30,9 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef G_OS_WIN32
#include <io.h>
#endif
#include <glib.h>