added custom definitions for resources which dont contain define in them (such as vendor code)