Merge tag 'v0.22.7'
release v0.22.7
This commit is contained in:
@@ -47,7 +47,9 @@ FormatSystemError(std::error_code code, const char *fmt,
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#include <windows.h>
|
||||
#include <errhandlingapi.h> // for GetLastError()
|
||||
#include <windef.h> // for HWND (needed by winbase.h)
|
||||
#include <winbase.h> // for FormatMessageA()
|
||||
|
||||
static inline std::system_error
|
||||
MakeLastError(DWORD code, const char *msg) noexcept
|
||||
|
@@ -27,7 +27,9 @@
|
||||
#include <cstring>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#include <errhandlingapi.h> // for GetLastError()
|
||||
#include <windef.h> // for HWND (needed by winbase.h)
|
||||
#include <winbase.h> // for FormatMessageA()
|
||||
#else
|
||||
#include <cerrno>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user