strerror_r is XSI compliant on Apple/FreeBSD
authorSean Cannella <seanc@fb.com>
Mon, 1 Jul 2013 15:06:12 +0000 (08:06 -0700)
committerSara Golemon <sgolemon@fb.com>
Mon, 1 Jul 2013 19:57:43 +0000 (12:57 -0700)
commitbd4c2f962df01e622828496b0b68b60cc8ab0783
tree26ba511f816b8e828dd8e233928e592be0c3bd17
parent04c09cf0f89fe94ccd3ae71ca5c9470fe8a3371c
strerror_r is XSI compliant on Apple/FreeBSD

Summary:
- Noticed this due to an -fpermissive compiler warning while compiling
HHVM for OSX (complaint of trying to cast int to char*)

Test Plan:
- Compiled
- Confirmed the build warning is fixed by this on the Mac OS X build

Reviewed By: tudorb@fb.com

FB internal diff: D865169
folly/String.cpp