add define checking for C file