Bug 678332-GIO: Fix build on Windows/non-GCC
authorChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 19 Jun 2012 04:04:28 +0000 (12:04 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 19 Jun 2012 04:04:28 +0000 (12:04 +0800)
commit875854411a4ea5fdd1d9217d7856858d89090cb9
tree7d6b4f5de98076243db53bb6d2791651a9778a8e
parent08a6f8d27f8d6c059f4c074680218f6bc66f8174
Bug 678332-GIO: Fix build on Windows/non-GCC

-gconverterinputstream.c: Avoid GCCism by not using non-standard pointer
 arithmetic on void*, but do a cast to char * as that seems to be what the
 variable was used for.
-gtestdbus.c: Don't include unistd.h unconditionally, and use g_usleep()
 instead of usleep(), as usleep() is not universally available.
gio/gconverterinputstream.c
gio/gtestdbus.c