Make g_strerror work with non-glibc POSIX systems
Make g_strerror work with non-glibc POSIX systems

We should only use GNU-specific strerror_r on glibc. On other systems,
we should use the XSI-compliant version.

https://bugzilla.gnome.org/show_bug.cgi?id=754601

cention-sany/glib,mzabaluev/glib,MathieuDuponchelle/glib,endlessm/glib,tchakabam/glib,endlessm/glib,johne53/MB3Glib,Distrotech/glib,Distrotech/glib,cention-sany/glib,endlessm/glib,ieei/glib,Distrotech/glib,cention-sany/glib,mzabaluev/glib,johne53/MB3Glib,ieei/glib,ieei/glib,johne53/MB3Glib,cention-sany/glib,MathieuDuponchelle/glib,MathieuDuponchelle/glib,mzabaluev/glib,tchakabam/glib,tchakabam/glib,johne53/MB3Glib,cention-sany/glib,endlessm/glib,mzabaluev/glib,MathieuDuponchelle/glib,Distrotech/glib,johne53/MB3Glib,Distrotech/glib,tchakabam/glib,endlessm/glib,MathieuDuponchelle/glib,johne53/MB3Glib,ieei/glib,tchakabam/glib,ieei/glib,mzabaluev/glib