change larange.c to windows版