mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-28 06:36:02 +00:00
Fix declaration
This commit is contained in:
parent
6417952574
commit
3ae88147e2
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user