Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
2faabff7
提交
2faabff7
authored
12月 19, 2007
作者:
Anthony Minessale
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
git-svn-id:
http://svn.freeswitch.org/svn/freeswitch/trunk@6904
d0543943-73ff-0310-b7d9-9358b9ac24b2
上级
80da2e37
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
27 行增加
和
11 行删除
+27
-11
Makefile.am
Makefile.am
+1
-1
configure.in
configure.in
+15
-8
sqliteInt.h
libs/sqlite/src/sqliteInt.h
+11
-2
没有找到文件。
Makefile.am
浏览文件 @
2faabff7
...
...
@@ -239,7 +239,7 @@ libs/apr-util/libaprutil-1.la: libs/apr-util libs/apr-util/.update libs/apr/liba
@
$(TOUCH_TARGET)
libs/sqlite/libsqlite3.la
:
libs/sqlite libs/sqlite/.update
@
cd
libs/sqlite
&&
$(MAKE)
@
cd
libs/sqlite
&&
$(MAKE)
CFLAGS
=
"
$(SWITCH_AM_CFLAGS)
"
@
$(TOUCH_TARGET)
libs/pcre/libpcre.la
:
libs/pcre libs/pcre/.update
...
...
configure.in
浏览文件 @
2faabff7
...
...
@@ -60,14 +60,6 @@ if test "${enable_optimizer}" = "yes" ; then
AX_CC_MAXOPT
fi
# Enable debugging
AC_ARG_ENABLE(debug,
[AC_HELP_STRING([--enable-debug],[build with debug information])],[enable_debug="$enable_debug"],[enable_debug="yes"])
if test "${enable_debug}" = "yes"; then
AC_DEFINE([DEBUG],[],[Enable extra debugging.])
AX_CFLAGS_WARN_ALL_ANSI
fi
AM_CONDITIONAL([WANT_DEBUG],[test "${enable_debug}" = "yes"])
...
...
@@ -147,6 +139,21 @@ elif test "x${ax_cv_c_compiler_vendor}" = "xgnu" ; then
APR_ADDTO(SWITCH_AM_CFLAGS, -Werror)
fi
# Enable debugging
AC_ARG_ENABLE(debug,
[AC_HELP_STRING([--enable-debug],[build with debug information])],[enable_debug="$enable_debug"],[enable_debug="yes"])
if test "${enable_debug}" = "yes"; then
AC_DEFINE([DEBUG],[],[Enable extra debugging.])
AX_CFLAGS_WARN_ALL_ANSI
if test "x${ax_cv_c_compiler_vendor}" = "xgnu" ; then
APR_ADDTO(SWITCH_AM_CFLAGS, -g -ggdb)
fi
fi
# tweak platform specific flags
case "$host" in
*darwin*)
...
...
libs/sqlite/src/sqliteInt.h
浏览文件 @
2faabff7
...
...
@@ -269,9 +269,18 @@ extern int sqlite3_iLine; /* Line number for debug info */
#else
static
inline
void
*
zmalloc
(
size_t
x
)
{
void
*
z
=
malloc
(
x
);
assert
(
z
);
memset
(
z
,
0
,
x
);
return
z
;
}
#define ENTER_MALLOC 0
#define sqliteMalloc(x) sqlite3Malloc(x,1)
#define sqliteMallocRaw(x) sqlite3MallocRaw(x,1)
#define sqliteMalloc(x)
zmalloc(x)//
sqlite3Malloc(x,1)
#define sqliteMallocRaw(x)
malloc(x)//
sqlite3MallocRaw(x,1)
#define sqliteRealloc(x,y) sqlite3Realloc(x,y)
#define sqliteStrDup(x) sqlite3StrDup(x)
#define sqliteStrNDup(x,y) sqlite3StrNDup(x,y)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论