I am trying to build libgpg-error 1.36 on Windows, using MSYS2 + mingw-w64. Looking at configure output, it is mentioned that strerror_r is not available. So I would like to mention that strerror_s exists and is the Windows function equivalent to strerror_r on Unix (not the GNU variant). See
the only thing which is different is the order of the arguments
Would it be possible to add support of strerror_s on Windows ?
I think that some code like :
#define strerror_r(errnum, buf, buflen) strerror_s(buf, buflen, errnum)
should be sufficient