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:
parent
d03b5a1e13
commit
aa0d53ea0f
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue