From ddf3cff4952a1db083ffbcd7e754081f6f5d5773 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Sun, 10 Feb 2013 21:12:41 +0100 Subject: Check for MLang on Windows platform. --- src/platforms/windows/windowsHandler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/platforms/windows/windowsHandler.cpp b/src/platforms/windows/windowsHandler.cpp index 7e7383a2..b0e2c760 100644 --- a/src/platforms/windows/windowsHandler.cpp +++ b/src/platforms/windows/windowsHandler.cpp @@ -38,7 +38,7 @@ #include // for WSAStartup() #include -#ifdef VMIME_HAVE_MLANG_H +#if VMIME_HAVE_MLANG # include #endif @@ -117,7 +117,7 @@ const vmime::datetime windowsHandler::getCurrentLocalTime() const const vmime::charset windowsHandler::getLocaleCharset() const { -#ifdef VMIME_HAVE_MLANG_H +#if VMIME_HAVE_MLANG char szCharset[256]; CoInitialize(NULL); @@ -144,7 +144,7 @@ const vmime::charset windowsHandler::getLocaleCharset() const CoUninitialize(); return vmime::charset(szCharset); -#else // VMIME_HAVE_MLANG_H +#else // VMIME_HAVE_MLANG vmime::string ch = vmime::charsets::ISO8859_1; // default switch (GetACP()) -- cgit