This file is part of MXE. See LICENSE.md for licensing information. From bc98fcbc262514378bbb9a5a011cdaf7aef5e744 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Wed, 26 Mar 2014 23:45:05 +0100 Subject: [PATCH] workaround for stricmp decl problem on mingw32 (mingw.org) diff --git a/src/vmime/platforms/windows/windowsCodepages.hpp b/src/vmime/platforms/windows/windowsCodepages.hpp index e66b230..211db5e 100644 --- a/src/vmime/platforms/windows/windowsCodepages.hpp +++ b/src/vmime/platforms/windows/windowsCodepages.hpp @@ -32,6 +32,10 @@ #include +#define stricmp _stricmp +extern "C" { +_CRTIMP int __cdecl __MINGW_NOTHROW _stricmp (const char*, const char*); +} namespace vmime { -- 2.1.2