diff --git a/src/rig.c b/src/rig.c index ae988def6..88be0ffd6 100644 --- a/src/rig.c +++ b/src/rig.c @@ -6859,6 +6859,7 @@ static int async_data_handler_start(RIG *rig) ENTERFUNC; +#ifdef ASYNC_BUG #ifdef HAVE_PTHREAD if (caps->async_data_supported) { @@ -6881,11 +6882,13 @@ static int async_data_handler_start(RIG *rig) RETURNFUNC(-RIG_EINTERNAL); } } +#endif #endif RETURNFUNC(RIG_OK); } +#ifdef ASYNC_BUG static int async_data_handler_stop(RIG *rig) { struct rig_state *rs = &rig->state; @@ -6921,6 +6924,7 @@ static int async_data_handler_stop(RIG *rig) RETURNFUNC(RIG_OK); } #endif +#endif void *async_data_handler(void *arg) {