Make chan_zap inform you that your version of zaptel is too old instead of
[asterisk/asterisk.git] / channels / chan_zap.c
index 394c12b..c72b30c 100644 (file)
@@ -118,7 +118,7 @@ static struct ast_jb_conf default_jbconf =
 };
 static struct ast_jb_conf global_jbconf;
 
 };
 static struct ast_jb_conf global_jbconf;
 
-#if !defined(ZT_SIG_EM_E1) || (defined(HAVE_PRI) && !defined(ZT_SIG_HARDHDLC))
+#if !defined(ZT_TCOP_RELEASE) || (defined(HAVE_PRI) && !defined(ZT_SIG_HARDHDLC))
 #error "Your zaptel is too old.  Please update"
 #endif
 
 #error "Your zaptel is too old.  Please update"
 #endif