Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Add strerror_r() for OpenSolaris.
Browse files Browse the repository at this point in the history
Required to compile Phobos on OpenSolaris.
  • Loading branch information
redstar committed Oct 31, 2015
1 parent c2c255c commit 75ac0e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/stdc/string.d
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ else version (FreeBSD)
{
int strerror_r(int errnum, char* buf, size_t buflen);
}
else version (Solaris)
{
int strerror_r(int errnum, char* buf, size_t buflen);
}
else version (CRuntime_Bionic)
{
///
Expand Down

0 comments on commit 75ac0e2

Please sign in to comment.