Supply defaults for ISDN_MAX_CHANNELS and ISDN_MAX_DRIVERS if not defined.

This commit is contained in:
paul 2002-01-31 18:59:24 +00:00
parent 3fc88170cc
commit 7a097c3e62
1 changed files with 8 additions and 1 deletions

View File

@ -2,8 +2,15 @@
*
* (c) 1995-97 Volker Götz
*
* $Id: imontty.h,v 1.2 2000/06/29 17:38:26 akool Exp $
* $Id: imontty.h,v 1.3 2002/01/31 18:59:24 paul Exp $
*/
#ifndef ISDN_MAX_CHANNELS
# define ISDN_MAX_CHANNELS 64 /* largest common denominator */
#endif
#ifndef ISDN_MAX_DRIVERS
# define ISDN_MAX_DRIVERS 32 /* ditto */
#endif
#define IM_BUFSIZE 10 + (22 * ISDN_MAX_CHANNELS)
#define IM_VERSION "0.5"