only complain if ZAPATA_PRI is defined
authorJeremy McNamara <jj@nufone.net>
Thu, 20 May 2004 07:02:47 +0000 (07:02 +0000)
committerJeremy McNamara <jj@nufone.net>
Thu, 20 May 2004 07:02:47 +0000 (07:02 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3022 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index ba6f930..6fff885 100755 (executable)
@@ -3865,8 +3865,10 @@ 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) {
                if (frame->frametype != AST_FRAME_IMAGE)