mxe/src/vmime-1.patch

27 lines
746 B
Diff
Raw Normal View History

This file is part of MXE. See LICENSE.md for licensing information.
2013-05-14 08:28:36 +01:00
2014-11-24 11:30:04 +00:00
From bc98fcbc262514378bbb9a5a011cdaf7aef5e744 Mon Sep 17 00:00:00 2001
2014-01-10 02:53:25 +00:00
From: Mark Brand <mabrand@mabrand.nl>
Date: Wed, 26 Mar 2014 23:45:05 +0100
2014-11-24 11:30:04 +00:00
Subject: [PATCH] workaround for stricmp decl problem on mingw32 (mingw.org)
2014-01-10 02:53:25 +00:00
diff --git a/src/vmime/platforms/windows/windowsCodepages.hpp b/src/vmime/platforms/windows/windowsCodepages.hpp
2014-11-24 11:30:04 +00:00
index e66b230..211db5e 100644
2014-01-10 02:53:25 +00:00
--- a/src/vmime/platforms/windows/windowsCodepages.hpp
+++ b/src/vmime/platforms/windows/windowsCodepages.hpp
@@ -32,6 +32,10 @@
#include <string.h>
+#define stricmp _stricmp
+extern "C" {
+_CRTIMP int __cdecl __MINGW_NOTHROW _stricmp (const char*, const char*);
+}
namespace vmime {
--
2014-11-24 11:30:04 +00:00
2.1.2
2013-11-16 13:44:54 +00:00