mirror of
https://github.com/asterisk/asterisk.git
synced 2026-01-07 10:31:16 +00:00
More BSD enhancements
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -20,7 +20,7 @@ CFLAGS+=$(shell [ -f /usr/include/linux/zaptel.h ] && echo " -DZAPATA_MOH")
|
||||
#
|
||||
# Work around buggy RedHat 9.0
|
||||
#
|
||||
CFLAGS+=-DOPENSSL_NO_KRB5
|
||||
CFLAGS+=-DOPENSSL_NO_KRB5 -fPIC
|
||||
|
||||
all: $(MODS)
|
||||
|
||||
|
||||
@@ -443,7 +443,7 @@ std: for (x=0;x<AST_MAX_FDS;x++) {
|
||||
tv.tv_sec = ms / 1000;
|
||||
tv.tv_usec = (ms % 1000) * 1000;
|
||||
/* Wait for something to happen */
|
||||
select(max + 1, &rfds, NULL, &efds, (ms > -1) ? &tv : NULL);
|
||||
ast_select(max + 1, &rfds, NULL, &efds, (ms > -1) ? &tv : NULL);
|
||||
pthread_testcancel();
|
||||
}
|
||||
return NULL; /* Never reached */
|
||||
|
||||
Reference in New Issue
Block a user