D-Programming-Language/druntime — pull request #860 by jasonbking (2014-07-04 01:15:55+00:00)
Title: Enable per-thread errno on Solaris

This addresses bug 4354 for - Phobos should expose per-thread errno - on Solaris systems.

On Solaris, without the MT errno definition, errno is always the errno value of the first thread of the processes.
While porting druntime and Phobos, this was the source of a lot of frustration as unit tests were failing with impossible and non-sensical error messages due to showing the wrong error value.