Move project from ST Visual Develop

Hi
I move whole project from ST Visual Develop using SPL to Platform IO and after fiting with few errors I can’t resolve one of them. I got error:
src\STM8S103F.h:32: syntax error: token → ‘0x5000’ ; column 29
subprocess error 1
*** [.pio\build\stm8s003f3\src\main.rel] Error 1
His talking about this definition:

/* Port A data output latch register */
DEF_8BIT_REG_AT(PA_ODR,0x5000);

and I have many such registers and all they are rise an error if they will participate in compilation.
Please help