Mercurial > hg > vamp-build-and-test
diff DEPENDENCIES/generic/include/boost/system/windows_error.hpp @ 101:c530137014c0
Update Boost headers (1.58.0)
author | Chris Cannam |
---|---|
date | Mon, 07 Sep 2015 11:12:49 +0100 |
parents | 2665513ce2d3 |
children |
line wrap: on
line diff
--- a/DEPENDENCIES/generic/include/boost/system/windows_error.hpp Fri Sep 04 12:01:02 2015 +0100 +++ b/DEPENDENCIES/generic/include/boost/system/windows_error.hpp Mon Sep 07 11:12:49 2015 +0100 @@ -18,7 +18,15 @@ #ifdef BOOST_WINDOWS_API #include <boost/system/error_code.hpp> + +// Neither MinGW or Cygwin versions of winerror.h work if used alone, so on +// either of those platforms include the full windows.h + +#if defined(__MINGW32__) || defined(__CYGWIN__) +#include <windows.h> +#else #include <winerror.h> +#endif namespace boost {