Under some compiler, double typedef will cause FAILED. So we add a macro to avoid this problem.
Signed-off-by: liujialiang <liujialiang10@huawei.com>
Change-Id: I07f695f56eb40e3b0cf0b85e94212cf38c8ffbbf
On 64bit systems the address and hence the offset
will not be unsigned int.
To fix that issue, use generic pointer size type uintptr_t.
Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: I69298b48c4676c5935fa2170e23c32586c18de06