aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpg/t-support.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2005-09-23 13:29:04 +0000
committerWerner Koch <[email protected]>2005-09-23 13:29:04 +0000
commit8a1ce95287705641f20d75619190de2bb2099a06 (patch)
tree8b3a2ccf0b4d76d226cb8d5b0bb885fe555cd657 /tests/gpg/t-support.h
parent* ath.c: Changes to make it work under W32. (diff)
downloadgpgme-8a1ce95287705641f20d75619190de2bb2099a06.tar.gz
gpgme-8a1ce95287705641f20d75619190de2bb2099a06.zip
Boosted performance of w32 I/O
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);