On 07/07/2014 10:28 AM, Emil Velikov wrote:
> +/*
> + * strerror_r (strictly speaking not C99)
^^^^^^^^^^^^^^^^^^^^^^^^^^
You documented what's wrong with defining strerror_r in a C99
compatibility header. But it would be nice to also document what's
*right*. Maybe say "Not in C99, but in POSIX.1-2001.".
Oh... I'm nit-picking.
/me shuts up and takes the code
This patch is
Reviewed-by: Chad Versace <[email protected]>
> + */
> +#if defined(_WIN32)
> +#define strerror_r(errno,buf,len) strerror_s(buf,len,errno)
> +#endif
_______________________________________________
waffle mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/waffle