Added host macros about snap