only complain if ZAPATA_PRI is defined

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeremy McNamara
2004-05-20 07:02:47 +00:00
parent 2bc871a62e
commit fc6a82fcb8

View File

@@ -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) {