up
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
void wait(int time) {
|
||||
#ifdef _WIN32
|
||||
Sleep(time*1000);
|
||||
#else
|
||||
sleep(time);
|
||||
#endif
|
||||
}
|
||||
Reference in New Issue
Block a user