add macro settings for poll msg

Signed-off-by: xiehuc <xiehuc@gmail.com>
add version macro

Signed-off-by: xiehuc <xiehuc@gmail.com>