[PATCH 1/2] msvcp140: Take _Mtx_t and _Cnd_t directly

Piotr Caban piotr.caban at gmail.com
Fri Aug 5 06:08:02 CDT 2016


On 08/05/16 00:33, Daniel Lehman wrote:
> +#if _MSVCP_VER >= 140
> +typedef _Mtx_t _Mtx_arg_t;
> +#define D(m)   (m)
> +#define R(m)   (m)
> +#else
> +typedef _Mtx_t *_Mtx_arg_t;
> +#define D(m)   (*(m))
> +#define R(m)   (&(m))
> +#endif
How about changing the defines names to something more meaningful, like 
e.g.:
#define MTX_T_FROM_ARG(m) ...
#define MTX_T_TO_ARG(m) ...
?

Thanks,
Piotr




More information about the wine-devel mailing list