ignore file added
added #ifdefs

added #ifdefs for decide platform