[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:
Stefan Knoblich 2010-08-10 10:31:13 +02:00
parent ae12913f12
commit 672898f40e
1 changed files with 1 additions and 1 deletions

View File

@ -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];