add shared defines