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-11-07 11:02:27 -05:00
2017-08-22 16:40:34 +02:00
2016-12-06 20:33:53 +01:00
2017-08-13 19:06:10 -07:00
2015-05-25 13:11:47 +02:00
2017-11-15 18:04:40 +00:00
2017-08-22 16:40:34 +02:00
2017-08-22 16:40:34 +02:00
2017-08-25 19:14:14 +02:00
2017-05-03 06:40:52 +01:00
2017-05-03 06:40:52 +01:00
2017-04-12 06:15:18 +01:00
2016-07-16 22:48:46 +02:00
2017-08-03 13:29:59 -07:00
2017-08-03 13:29:59 -07:00
2017-08-15 22:29:10 +02:00
2017-08-15 22:29:10 +02:00
2017-01-17 20:46:48 -05:00
2017-01-17 20:46:48 -05:00
2017-06-15 21:33:50 +02:00
2017-08-22 16:40:34 +02:00
2017-11-03 23:00:43 +01:00
2017-01-24 03:31:51 +01:00