view src/boost-2-winerror.patch @ 6453:86edd6018826 release

librsb: Update to version 1.3.0.1 (bug #61393). * src/librsb.mk: Update version and checksum. (Temporarily) build without librsbpp. * src/librsb-1-setenv.patch, src/librsb-2-config.patch: Add patches for MinGW (no setenv function) and for dependency on zlib. * dist-files.mk: Add new files to dist.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 15 Oct 2022 14:46:51 +0200
parents 5a459f007b2f
children
line wrap: on
line source

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