Ensure we're actually initializing the winsock library
authorAlexander Larsson <alexl@redhat.com>
Wed, 29 Apr 2009 10:19:57 +0000 (12:19 +0200)
committerAlexander Larsson <alexl@redhat.com>
Wed, 29 Apr 2009 10:19:57 +0000 (12:19 +0200)
commitd80e12104f139def9bea28a510bf1d7c103e20f9
tree112899200ad3d88d642d47a20fc55e812f8a008f
parent49dfb50afc9400779c0be02ea3c285780b42c928
Ensure we're actually initializing the winsock library

It turns out that just calling g_inet_address_get_type() isn't
enough, since its marked G_GNUC_CONST, so the call is optimized
away. If we assign the return value to a volatile location we ensure
it is called.
gio/ginetaddress.c