kopia lustrzana https://github.com/Hamlib/Hamlib
Compile sleep replacement only when HAVE_SLEEP is not defined
https://github.com/Hamlib/Hamlib/issues/336pull/345/head
rodzic
d361a111e2
commit
8e79561b73
|
@ -66,6 +66,7 @@ int hl_usleep(rig_useconds_t usec)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_NANOSLEEP
|
#ifdef HAVE_NANOSLEEP
|
||||||
|
#ifndef HAVE_SLEEP
|
||||||
/**
|
/**
|
||||||
* \brief sleep
|
* \brief sleep
|
||||||
* \param secs is seconds to sleep
|
* \param secs is seconds to sleep
|
||||||
|
@ -83,6 +84,8 @@ unsigned int sleep(unsigned int secs)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
|
Ładowanie…
Reference in New Issue