Skip to content

Commit 2ab17c5

Browse files
committed
Merge branch 'latest' of https://github.com/ERGO-Code/HiGHS into neos4LargeBnds
2 parents 300d02a + 1f10839 commit 2ab17c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extern/zstr/strict_fstream.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ static std::string strerror()
6464
} else {
6565
return "Unknown error (" + std::to_string(err_num) + ")";
6666
}
67-
#elif ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 || defined(__APPLE__) || defined(__FreeBSD__)) && ! _GNU_SOURCE) || defined(__MUSL__)
67+
#elif ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 || defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)) && ! _GNU_SOURCE) || defined(__MUSL__)
6868
// XSI-compliant strerror_r()
6969
const int err_num = errno; // See above
7070
if (strerror_r(err_num, buff.data(), buff.size()) == 0) {

0 commit comments

Comments
 (0)