add sizeof_char macro