Add platformDefine Judgement.