1
0
Fork 0

Fix Windows build with boost 1.73.0

This commit is contained in:
wangqr 2020-05-17 22:41:57 -04:00
parent 47c95e5fe5
commit 5e71125825
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ namespace ec = boost::system::errc;
// errors, which isn't really what we want, so do some crazy wrapper
// shit to map error codes to more useful exceptions.
#ifdef BOOST_WINDOWS_API
#include <winerror.h>
#define CHECKED_CALL(exp, src_path, dst_path) \
boost::system::error_code ec; \
exp; \