only complain if ZAPATA_PRI is defined

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Jeremy McNamara 22 years ago
parent 2bc871a62e
commit fc6a82fcb8

@ -3865,7 +3865,9 @@ static int zt_write(struct ast_channel *ast, struct ast_frame *frame)
p->proceeding=1;
}
#else
#ifdef ZAPATA_PRI
#warning "You need later PRI library"
#endif
#endif
/* Write a frame of (presumably voice) data */
if (frame->frametype != AST_FRAME_VOICE) {

Loading…
Cancel
Save