kopia lustrzana https://github.com/Hamlib/Hamlib
Fix compiler error from async code
rodzic
1048cbb568
commit
0974680022
|
@ -373,7 +373,11 @@ extern int is_uh_radio_fd(int fd);
|
|||
*/
|
||||
static ssize_t port_read_generic(hamlib_port_t *p, void *buf, size_t count, int direct)
|
||||
{
|
||||
#if ASYNC_BUG
|
||||
int fd = direct ? p->fd : p->fd_sync_read;
|
||||
#else
|
||||
int fd = direct;
|
||||
#endif
|
||||
int i;
|
||||
ssize_t ret;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue