mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-19 21:03:52 -07:00
little ifdef else fix
This commit is contained in:
parent
e0e548eed0
commit
99f2e990ad
2 changed files with 3 additions and 5 deletions
|
@ -15,9 +15,9 @@ int usleepn(long int milisec) {
|
||||||
ts.tv_nsec = (milisec % 1000) * 1000000L;
|
ts.tv_nsec = (milisec % 1000) * 1000000L;
|
||||||
return nanosleep(&ts, NULL);
|
return nanosleep(&ts, NULL);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
#else
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
int sleepn(unsigned int seconds)
|
int sleepn(unsigned int seconds)
|
||||||
{
|
{
|
||||||
|
|
4
hydra.h
4
hydra.h
|
@ -137,9 +137,7 @@
|
||||||
int sleepn(time_t seconds);
|
int sleepn(time_t seconds);
|
||||||
int usleepn(long int useconds);
|
int usleepn(long int useconds);
|
||||||
|
|
||||||
#endif
|
#else
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
|
|
||||||
int sleepn(unsigned int seconds);
|
int sleepn(unsigned int seconds);
|
||||||
int usleepn(unsigned int useconds);
|
int usleepn(unsigned int useconds);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue