use G_OS_WIN32 guard