Compatibility with 1.4
This commit is contained in:
parent
e0484c4db5
commit
29581c9637
|
@ -82,7 +82,11 @@ int
|
|||
pbx_capi_chat_room_state(const char *data)
|
||||
{
|
||||
const struct capichat_s *room;
|
||||
#ifdef CC_AST_HAS_VERSION_1_6
|
||||
enum ast_device_state ret = AST_DEVICE_NOT_INUSE;
|
||||
#else
|
||||
int ret = AST_DEVICE_NOT_INUSE;
|
||||
#endif
|
||||
|
||||
if (data == 0)
|
||||
return AST_DEVICE_INVALID;
|
||||
|
|
Loading…
Reference in New Issue