Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
0cf770a8
提交
0cf770a8
authored
11月 17, 2014
作者:
Michael Jerris
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
FS-6996: #resolve fix define change as of glibc 2.20 for _BSD_SOURCE -> _DEFAULT_SOURCE
上级
f1df8d60
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
24 行增加
和
0 行删除
+24
-0
ftdm_backtrace.c
libs/freetdm/src/ftdm_backtrace.c
+3
-0
ftmod_r2.c
libs/freetdm/src/ftmod/ftmod_r2/ftmod_r2.c
+3
-0
ftmod_wanpipe.c
libs/freetdm/src/ftmod/ftmod_wanpipe/ftmod_wanpipe.c
+3
-0
natpmp.c
libs/libnatpmp/natpmp.c
+3
-0
conf.c
libs/xmlrpc-c/lib/abyss/src/conf.c
+3
-0
http.c
libs/xmlrpc-c/lib/abyss/src/http.c
+3
-0
server.c
libs/xmlrpc-c/lib/abyss/src/server.c
+3
-0
switch.h
src/include/switch.h
+3
-0
没有找到文件。
libs/freetdm/src/ftdm_backtrace.c
浏览文件 @
0cf770a8
...
...
@@ -2,6 +2,9 @@
*
*
*/
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
#endif
#define _BSD_SOURCE
#include "private/ftdm_core.h"
...
...
libs/freetdm/src/ftmod/ftmod_r2/ftmod_r2.c
浏览文件 @
0cf770a8
...
...
@@ -38,6 +38,9 @@
*/
#ifdef __linux__
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
#endif
#ifndef _BSD_SOURCE
#define _BSD_SOURCE
/* for strsep() */
#endif
...
...
libs/freetdm/src/ftmod/ftmod_wanpipe/ftmod_wanpipe.c
浏览文件 @
0cf770a8
...
...
@@ -40,6 +40,9 @@
*
*/
#ifdef WP_DEBUG_IO
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
#endif
#define _BSD_SOURCE
#include <syscall.h>
#endif
...
...
libs/libnatpmp/natpmp.c
浏览文件 @
0cf770a8
...
...
@@ -15,6 +15,9 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
#ifdef __linux__
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
#endif
#define _BSD_SOURCE 1
#endif
#include <string.h>
...
...
libs/xmlrpc-c/lib/abyss/src/conf.c
浏览文件 @
0cf770a8
...
...
@@ -34,6 +34,9 @@
#define _XOPEN_SOURCE 600
/* For strdup() */
#define _BSD_SOURCE
/* For xmlrpc_strcaseeq */
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
#endif
#include <stdlib.h>
#include <stdio.h>
...
...
libs/xmlrpc-c/lib/abyss/src/http.c
浏览文件 @
0cf770a8
...
...
@@ -2,6 +2,9 @@
#define _XOPEN_SOURCE 600
/* For strdup() */
#define _BSD_SOURCE
/* For xmlrpc_strcaseeq() */
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
#endif
#include <ctype.h>
#include <assert.h>
...
...
libs/xmlrpc-c/lib/abyss/src/server.c
浏览文件 @
0cf770a8
...
...
@@ -2,6 +2,9 @@
#define _XOPEN_SOURCE 600
/* Make sure strdup() is in <string.h> */
#define _BSD_SOURCE
/* Make sure setgroups()is in <grp.h> */
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
#endif
#include <assert.h>
#include <stdio.h>
...
...
src/include/switch.h
浏览文件 @
0cf770a8
...
...
@@ -63,6 +63,9 @@
#ifndef _BSD_SOURCE
#define _BSD_SOURCE
#endif
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
#endif
#endif
#ifndef __BSD_VISIBLE
#define __BSD_VISIBLE 1
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论