win32: work around broken winsock prototypes
authorDan Winship <danw@gnome.org>
Sun, 11 Nov 2012 18:05:16 +0000 (13:05 -0500)
committerDan Winship <danw@gnome.org>
Thu, 15 Nov 2012 19:19:06 +0000 (14:19 -0500)
commitaa1418c427ea904e22c9bfe812a569f4aee1e3f7
tree2e56141f81925d973cf8f46b367bbebee5e0973e
parentfc3acd88baad368b70f6b263e74c945e15fdc8ef
win32: work around broken winsock prototypes

Re-#define a few socket functions to work around winsock's prototypes
having, eg, "int *" rather than "unsigned int *", or "char *" rather
than "void *".

(Also fix two places that mistakenly assumed guint==guint32.)

https://bugzilla.gnome.org/show_bug.cgi?id=688109
gio/gsocket.c