Re: [PATCH 1/2] msvcp140: Take _Mtx_t and _Cnd_t directly
5 Aug
2016
5 Aug
'16
6:08 a.m.
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
3415
Age (days ago)
3415
Last active (days ago)
0 comments
1 participants
participants (1)
-
Piotr Caban