blob: 7af3c3b39ef88531129b44f52b23b9ec525f9a41 [file] [log] [blame] [raw]
#include <windows.h>
unsigned long int NTAPI NtDelayExecution(char, PLARGE_INTEGER);
int usleep(unsigned long int useconds){
LARGE_INTEGER Interval;
Interval.QuadPart = -(unsigned long long int)useconds * 10;
return NtDelayExecution (0, &Interval);
}
unsigned int sleep(unsigned int seconds){
usleep(seconds * 1000000);
return 0;
}
int DllMain(){
return 1;
}