提交 11b8615a authored 作者: Anthony Minessale's avatar Anthony Minessale

update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7101 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 3975fa32
Sat Jan 5 12:23:10 EST 2008 Sat Jan 5 15:55:07 EST 2008
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
*/ */
#ifndef _SQLITEINT_H_ #ifndef _SQLITEINT_H_
#define _SQLITEINT_H_ #define _SQLITEINT_H_
#define _GNU_SOURCE
/* /*
** Extra interface definitions for those who need them ** Extra interface definitions for those who need them
*/ */
...@@ -287,11 +287,8 @@ static inline void *zmalloc(size_t x) ...@@ -287,11 +287,8 @@ static inline void *zmalloc(size_t x)
#define sqliteMallocRaw(x) malloc(x)//sqlite3MallocRaw(x,1) #define sqliteMallocRaw(x) malloc(x)//sqlite3MallocRaw(x,1)
#define sqliteRealloc(x,y) realloc(x, y)//sqlite3Realloc(x,y) #define sqliteRealloc(x,y) realloc(x, y)//sqlite3Realloc(x,y)
#define sqliteStrDup(x) strdup(x)//sqlite3StrDup(x) #define sqliteStrDup(x) strdup(x)//sqlite3StrDup(x)
#ifdef _MSC_VER
#define sqliteStrNDup(x,y) sqlite3StrNDup(x,y) #define sqliteStrNDup(x,y) sqlite3StrNDup(x,y)
#else
#define sqliteStrNDup(x,y) strndup(x, y)//sqlite3StrNDup(x,y)
#endif
#define sqliteReallocOrFree(x,y) sqlite3ReallocOrFree(x,y) #define sqliteReallocOrFree(x,y) sqlite3ReallocOrFree(x,y)
#endif #endif
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论