[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 8e79561b735a41e3f4acd
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2020-07-04 16:33:54
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Hamlib -- Ham radio control libraries". The branch, master has been updated via 8e79561b735a41e3f4acd2f86972f68c2da6c85f (commit) from d361a111e2ce371e97db29da89b5939688172737 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 8e79561b735a41e3f4acd2f86972f68c2da6c85f Author: Michael Black W9MDB <mdb...@ya...> Date: Sat Jul 4 11:33:11 2020 -0500 Compile sleep replacement only when HAVE_SLEEP is not defined https://github.com/Hamlib/Hamlib/issues/336 diff --git a/src/sleep.c b/src/sleep.c index d8624ed4..f8fba17c 100644 --- a/src/sleep.c +++ b/src/sleep.c @@ -66,6 +66,7 @@ int hl_usleep(rig_useconds_t usec) } #ifdef HAVE_NANOSLEEP +#ifndef HAVE_SLEEP /** * \brief sleep * \param secs is seconds to sleep @@ -83,6 +84,8 @@ unsigned int sleep(unsigned int secs) return 0; } +#endif +#endif #if 0 ----------------------------------------------------------------------- Summary of changes: src/sleep.c | 3 +++ 1 file changed, 3 insertions(+) hooks/post-receive -- Hamlib -- Ham radio control libraries |