Guard against usage of _isatty when header was not included (#3880)
* Guard against usage of _isatty when header was not included * Rename FMT_WINDOWS_NO_WCHAR macro to FMT_USE_WRITE_CONSOLE
This commit is contained in:
1 parent
0861db500f
commit
13cfaa2ab0
2 files changed
+4
-4
No files matched your search
@@ -344,7 +344,7 @@ TEST(format_impl_test, write_dragon_even) {
|
||||
if (!FMT_MSC_VERSION) EXPECT_EQ(s, "33554450");
|
||||
}
|
||||
|
||||
#if defined(_WIN32) && !defined(FMT_WINDOWS_NO_WCHAR)
|
||||
#if defined(_WIN32) && !defined(FMT_USE_WRITE_CONSOLE)
|
||||
# include <windows.h>
|
||||
|
||||
TEST(format_impl_test, write_console_signature) {
|
||||
|
||||
Reference in new issue
Block a user