Fix static link on Windows
When making a static module on Windows, we should not have dllexport
on g_io_* functions. However, G_MODULE_EXPORT is defined to always have
dllexport
on Windows because it is made for shared modules only.
When making a static module on Windows, we should not have dllexport
on g_io_* functions. However, G_MODULE_EXPORT is defined to always have
dllexport
on Windows because it is made for shared modules only.