Do an explicit test for XSI strerror_r
authorSara Golemon <sgolemon@fb.com>
Wed, 1 Jul 2015 21:56:12 +0000 (14:56 -0700)
committerSara Golemon <sgolemon@fb.com>
Wed, 1 Jul 2015 23:24:54 +0000 (16:24 -0700)
commit489ab051683d76d2c4e8450ab3e6e88877df1f1c
tree3469da08fd12f198eabe115dfa480a0c10c60dd9
parent913ddf778079e07b6e95f1e0454f5458e73fb5b2
Do an explicit test for XSI strerror_r

Summary: The current #if directive is a laundry list of
"strerror_r defaults to XSI style on these platforms",
and we keep missing some, so let's just do a proper test
and simplify the code directives.

Closes #232

Reviewed By: @paulbiss

Differential Revision: D2208843
folly/String.cpp
folly/configure.ac