[FreeTDM][2/2] for FreeBSD: ftdm_interrupt_multiple_wait() linux poll version should also work on all BSD variants (and Solaris too), add FreeBSD for now. (Build-tested on FreeBSD-8.1) NOTE: We may want to drop the #elif completely and just go for an #else here instead.
This commit is contained in:
parent
ae12913f12
commit
672898f40e
|
@ -434,7 +434,7 @@ FT_DECLARE(ftdm_status_t) ftdm_interrupt_multiple_wait(ftdm_interrupt_t *interru
|
|||
}
|
||||
/* fall-through to FTDM_SUCCESS at the end of the function */
|
||||
}
|
||||
#elif defined(__linux__)
|
||||
#elif defined(__linux__) || defined(__FreeBSD__)
|
||||
int res = 0;
|
||||
char pipebuf[255];
|
||||
struct pollfd ints[size*2];
|
||||
|
|
Loading…
Reference in New Issue