void csleep(int time) { #if defined(WIN32) || defined(WIN64) Sleep(time); #else usleep((long) time); #endif }