Added a define check for older zaptel libraries.

git-svn-id: http://yate.null.ro/svn/yate/trunk@790 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2006-05-15 18:33:08 +00:00
parent d03b5a1e13
commit aa0d53ea0f
1 changed files with 11 additions and 0 deletions

View File

@ -42,6 +42,17 @@ extern "C" {
#include <fcntl.h>
#endif
#ifndef ZT_EVENT_DTMFDIGIT
#ifdef ZT_EVENT_DTMFDOWN
#define ZT_EVENT_DTMFDIGIT ZT_EVENT_DTMFDOWN
#else
#define ZT_EVENT_DTMFDIGIT 0
#endif
#endif
#ifndef ZT_EVENT_PULSEDIGIT
#define ZT_EVENT_PULSEDIGIT 0
#endif
using namespace TelEngine;