add AMD define snippet