2
0
mirror of https://github.com/boostorg/asio.git synced 2026-01-19 04:02:09 +00:00

Use correct form for strerror_r on NetBSD.

[SVN r34462]
This commit is contained in:
Christopher Kohlhoff
2006-07-05 05:27:48 +00:00
parent 6171e026e7
commit 27d17b40fb
2 changed files with 2 additions and 2 deletions

View File

@@ -273,7 +273,7 @@ public:
default:
#if defined(__sun) || defined(__QNX__)
return strerror(code_);
#elif defined(__MACH__) && defined(__APPLE__)
#elif defined(__MACH__) && defined(__APPLE__) || defined(__NetBSD__)
try
{
char buf[256] = "";

View File

@@ -108,7 +108,7 @@ public:
}
#elif defined(__sun) || defined(__QNX__)
return strerror(code_);
#elif defined(__MACH__) && defined(__APPLE__)
#elif defined(__MACH__) && defined(__APPLE__) || defined(__NetBSD__)
try
{
char buf[256] = "";