Distinguish between the XSI-compliant and the GNU-specific version of `strerror_r ()`
authorcherusker <prince.cherusker@gmail.com>
Mon, 7 Aug 2017 12:12:53 +0000 (14:12 +0200)
committercherusker <prince.cherusker@gmail.com>
Thu, 10 Aug 2017 16:47:08 +0000 (18:47 +0200)
commitdffb0dd1788b0a52a5b11543f7f9c16cfdde86cd
tree19122f5903dadbbfb57163de0336357dd5b0c2d2
parent5141dc7f2cdd4e45a3ad9cf9dd3dbe90c11005b5
Distinguish between the XSI-compliant and the GNU-specific version of `strerror_r ()`
- add USE_STRERROR_R_XSI to use the feature test macros conveniently later
- deal with the GNU-specific version of `strerror_r ()` separately (leave the code for the XSI-compliant version untouched)
- make `buff_len` size_t as this is ISO compliant (even though it should not really matter in this case)
mono/eglib/gstr.c