static int free_passphrase(gpointer _unused)
{
if (last_pass != NULL) {
-#ifndef G_OS_WIN32
+#ifndef G_PLATFORM_WIN32
munlock(last_pass, strlen(last_pass));
#endif
g_free(last_pass);
else {
if (prefs_gpg_get_config()->store_passphrase) {
last_pass = g_strdup(pass);
-#ifndef G_OS_WIN32
+#ifndef G_PLATFORM_WIN32
if (mlock(last_pass, strlen(last_pass)) == -1)
debug_print("%% locking passphrase failed");
#endif