add macro to determine size of struct member