[Asterisk-cvs] asterisk/channels chan_zap.c,1.348,1.349

citats at lists.digium.com citats at lists.digium.com
Sat Oct 2 11:02:48 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/home/citats/cvs/asterisk/channels

Modified Files:
	chan_zap.c 
Log Message:
Add #ifdef to chan_zap.c in case someone updates asterisk but not libpri

Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.348
retrieving revision 1.349
diff -u -d -r1.348 -r1.349
--- chan_zap.c	2 Oct 2004 15:01:37 -0000	1.348
+++ chan_zap.c	2 Oct 2004 15:04:38 -0000	1.349
@@ -244,8 +244,10 @@
 static char idledial[AST_MAX_EXTENSION];
 static int overlapdial = 0;
 static struct ast_channel inuse = { "GR-303InUse" };
+#ifdef PRI_GETSET_TIMERS
 static int pritimers[PRI_MAX_TIMERS];
 #endif
+#endif
 
 /* Wait up to 16 seconds for first digit (FXO logic) */
 static int firstdigittimeout = 16000;




More information about the svn-commits mailing list