JosJuice bd5da5cfd6 Handle both the XSI and GNU versions of strerror_r
Trying to force the XSI version by undefining _GNU_SOURCE can lead
to compilation errors on some systems because of headers expecting
that _GNU_SOURCE is defined.

This commit uses define checks to detect which version we have.
I tried making an overloaded function (int and const char*) instead,
but that led to a warning about one of the variants being unused.
2017-12-18 22:09:02 +01:00
..
2017-09-13 17:38:23 +02:00
2017-06-03 18:20:41 -07:00
2017-06-27 00:06:14 -07:00
2017-09-27 16:06:15 -07:00