From 9a7e8d1d9a7373b45ba337c1f9bfa92f16341f11 Mon Sep 17 00:00:00 2001 From: "HoĆ  V. DINH" Date: Sat, 22 Nov 2014 10:11:22 -0800 Subject: Improved build on win32. --- src/core/provider/MCMailProvider.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/core/provider/MCMailProvider.cpp b/src/core/provider/MCMailProvider.cpp index fd1b9ffb..1055d4fa 100644 --- a/src/core/provider/MCMailProvider.cpp +++ b/src/core/provider/MCMailProvider.cpp @@ -12,6 +12,7 @@ #include "MCJSON.h" #ifdef _MSC_VER +#include #include #include #include @@ -196,13 +197,13 @@ bool MailProvider::matchDomain(String * match, String * domain) uregex_close(r); return false; } - uregex_setText(r, domain->unicodeChararacters(), domain->length(), &code); + uregex_setText(r, domain->unicodeCharacters(), domain->length(), &code); if (code != U_ZERO_ERROR) { uregex_close(r); return false; } - bool matched = uregex_matches(r, 0, &code) + bool matched = uregex_matches(r, 0, &code); if (code != U_ZERO_ERROR) { uregex_close(r); return false; -- cgit v1.2.3