Commit c2e84ee9 authored by Vedran Miletić's avatar Vedran Miletić Committed by Victor Zverovich

Fix FormatTest.StrError on Solaris

parent 2711cb16
......@@ -192,7 +192,7 @@ TEST(FormatTest, StrError) {
EXPECT_EQ(get_system_error(error_code), message);
// safe_strerror never uses buffer on MinGW.
#ifndef __MINGW32__
#if !defined(__MINGW32__) && !defined(__sun)
result =
fmt::internal::safe_strerror(error_code, message = buffer, message_size);
EXPECT_EQ(ERANGE, result);
......
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