提交 6ff105d6 authored 作者: Ken Rice's avatar Ken Rice

fix build error when --enable-core-odbc-support not used at configure time

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11478 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 5fe69d30
...@@ -197,8 +197,8 @@ static char SQL_LOOKUP[] = "SELECT gateways.gateway_ip, gateways.group, gateways ...@@ -197,8 +197,8 @@ static char SQL_LOOKUP[] = "SELECT gateways.gateway_ip, gateways.group, gateways
static switch_status_t route_lookup(char *dn, easyroute_results_t *results, int noat, char *seperator) static switch_status_t route_lookup(char *dn, easyroute_results_t *results, int noat, char *seperator)
{ {
#ifdef SWITCH_HAVE_ODBC
switch_status_t sstatus = SWITCH_STATUS_SUCCESS; switch_status_t sstatus = SWITCH_STATUS_SUCCESS;
#ifdef SWITCH_HAVE_ODBC
char *sql = NULL; char *sql = NULL;
route_callback_t pdata; route_callback_t pdata;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论