We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
has_terminal
1 parent dd11636 commit a9cd941Copy full SHA for a9cd941
libcxx/include/print
@@ -199,7 +199,7 @@ _LIBCPP_HIDE_FROM_ABI inline bool __is_terminal([[maybe_unused]] FILE* __stream)
199
// the behavior in the test. This is not part of the public API.
200
# ifdef _LIBCPP_TESTING_PRINT_IS_TERMINAL
201
return _LIBCPP_TESTING_PRINT_IS_TERMINAL(__stream);
202
-# elif _LIBCPP_AVAILABILITY_HAS_PRINT == 0 || _LIBCPP_HAS_TERMINAL
+# elif _LIBCPP_AVAILABILITY_HAS_PRINT == 0 || !_LIBCPP_HAS_TERMINAL
203
return false;
204
# elif defined(_LIBCPP_WIN32API)
205
return std::__is_windows_terminal(__stream);
0 commit comments