2006-03-05 [paul] 2.0.0cvs110
[claws.git] / src / plugins / pgpcore / passphrase.c
index 93a3b776cd36395029b560c024ce9ca8f1d99098..2e7a45b77bd307962215c5bcd8be9caa4bb582ee 100644 (file)
@@ -289,7 +289,7 @@ create_description(const gchar *uid_hint, const gchar *pass_hint, gint prev_bad)
 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);
@@ -321,7 +321,7 @@ gpgmegtk_passphrase_cb(void *opaque, const char *uid_hint,
     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