diff --git a/hydra-time.c b/hydra-time.c index 42244e1..47f73d7 100644 --- a/hydra-time.c +++ b/hydra-time.c @@ -15,9 +15,9 @@ int usleepn(long int milisec) { ts.tv_nsec = (milisec % 1000) * 1000000L; return nanosleep(&ts, NULL); } -#endif -#ifdef _WIN32 +#else + #include int sleepn(unsigned int seconds) { diff --git a/hydra.h b/hydra.h index 0b5bd18..a855f08 100644 --- a/hydra.h +++ b/hydra.h @@ -137,9 +137,7 @@ int sleepn(time_t seconds); int usleepn(long int useconds); -#endif - -#ifdef _WIN32 +#else int sleepn(unsigned int seconds); int usleepn(unsigned int useconds);