Add macro for android and delete unnecessary comment.
Add 32bit and 64bit check for sprintf format.