#if defined(_WIN32) # include #else # include #endif #include int main(void) { #if defined(_WIN32) Sleep(5000); #else sleep(5); #endif printf("timeout process finished sleeping!\n"); return -1; }