summaryrefslogtreecommitdiffstats
path: root/src/boost-2-winerror.patch
diff options
context:
space:
mode:
authorNiels Kristian Bech Jensen <nkbj1970@hotmail.com>2013-11-19 02:06:23 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-11-19 02:06:23 (GMT)
commit4d8c3943b9b6302e8cd8f1e490dbb66a1f0941ec (patch)
treea4e12e1fb51f5343a2249736926330f2a71266c1 /src/boost-2-winerror.patch
parent2170e702b403806c2f7342d94d7c3747cd864f59 (diff)
downloadmxe-4d8c3943b9b6302e8cd8f1e490dbb66a1f0941ec.zip
mxe-4d8c3943b9b6302e8cd8f1e490dbb66a1f0941ec.tar.gz
mxe-4d8c3943b9b6302e8cd8f1e490dbb66a1f0941ec.tar.bz2
package boost: fix WinError capitalization
Diffstat (limited to 'src/boost-2-winerror.patch')
-rw-r--r--src/boost-2-winerror.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/boost-2-winerror.patch b/src/boost-2-winerror.patch
new file mode 100644
index 0000000..d9b03ea
--- /dev/null
+++ b/src/boost-2-winerror.patch
@@ -0,0 +1,17 @@
+This file is part of MXE.
+See index.html for further information.
+
+Fix WinError.h capitalization. See http://svn.boost.org/trac/boost/ticket/7081
+
+diff -ur a/boost/detail/win/basic_types.hpp b/boost/detail/win/basic_types.hpp
+--- a/boost/detail/win/basic_types.hpp 2011-03-25 02:20:55.000000000 +0100
++++ b/boost/detail/win/basic_types.hpp 2013-11-13 18:59:00.225614699 +0100
+@@ -14,7 +14,7 @@
+ #if defined( BOOST_USE_WINDOWS_H )
+ # include <windows.h>
+ #elif defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ ) || defined(__CYGWIN__)
+-# include <WinError.h>
++# include <winerror.h>
+ // @FIXME Which condition must be tested
+ # ifdef UNDER_CE
+ # ifndef WINAPI