aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpg/t-support.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/gpg/t-support.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gpg/t-support.h b/tests/gpg/t-support.h
index b48c7f02..0ed1ac84 100644
--- a/tests/gpg/t-support.h
+++ b/tests/gpg/t-support.h
@@ -96,7 +96,9 @@ init_gpgme (gpgme_protocol_t proto)
gpgme_check_version (NULL);
setlocale (LC_ALL, "");
gpgme_set_locale (NULL, LC_CTYPE, setlocale (LC_CTYPE, NULL));
+#ifndef HAVE_W32_SYSTEM
gpgme_set_locale (NULL, LC_MESSAGES, setlocale (LC_MESSAGES, NULL));
+#endif
err = gpgme_engine_check_version (proto);
fail_if_err (err);