Commit 3ae88147 authored by Victor Zverovich's avatar Victor Zverovich

Fix declaration

parent 64179525
...@@ -2823,12 +2823,9 @@ FMT_FUNC std::string detail::vformat(string_view format_str, format_args args) { ...@@ -2823,12 +2823,9 @@ FMT_FUNC std::string detail::vformat(string_view format_str, format_args args) {
#ifdef _WIN32 #ifdef _WIN32
namespace detail { namespace detail {
using dword = conditional_t<sizeof(long) == 8, unsigned, unsigned long>; using dword = conditional_t<sizeof(long) == 4, unsigned long, unsigned>;
extern "C" int __stdcall WriteConsoleW(void* hConsoleOutput, extern "C" __declspec(dllimport) int __stdcall WriteConsoleW( //
const void* lpBuffer, void*, const void*, dword, dword*, void*);
dword nNumberOfCharsToWrite,
dword* lpNumberOfCharsWritten,
void* lpReserved);
} // namespace detail } // namespace detail
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment