14 lines
154 B
C
14 lines
154 B
C
#ifdef _WIN32
|
|
#include <windows.h>
|
|
#else
|
|
#include <unistd.h>
|
|
#endif
|
|
|
|
void wait(int time) {
|
|
#ifdef _WIN32
|
|
Sleep(time*1000);
|
|
#else
|
|
sleep(time);
|
|
#endif
|
|
}
|