Revert "suport amd define"

This reverts commit 520b8a998b9c3d24527f72e77875db7e10d2e5e6.