[DF-517] fix #ndef warning