[platform] fix the dgetc signature problem
4 files changed