Enable per-thread errno on Solaris
Added comment for -D_REENTRANT
Merge pull request #860 from jasonbking/errno

Enable per-thread errno on Solaris