提交 34f4535c authored 作者: Michael Jerris's avatar Michael Jerris

fix windows pch

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13392 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 724f56e8
...@@ -59,9 +59,19 @@ ...@@ -59,9 +59,19 @@
#define _XOPEN_SOURCE 600 #define _XOPEN_SOURCE 600
#endif #endif
#endif #endif
#ifdef __linux__
#ifndef _BSD_SOURCE
#define _BSD_SOURCE
#endif
#endif
#ifndef __BSD_VISIBLE #ifndef __BSD_VISIBLE
#define __BSD_VISIBLE 1 #define __BSD_VISIBLE 1
#endif #endif
#ifdef __linux__
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#endif
#endif #endif
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
......
...@@ -30,12 +30,6 @@ ...@@ -30,12 +30,6 @@
* *
*/ */
#ifdef __linux__
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#endif
#include <switch.h> #include <switch.h>
#ifndef WIN32 #ifndef WIN32
#include <switch_private.h> #include <switch_private.h>
......
...@@ -34,9 +34,6 @@ ...@@ -34,9 +34,6 @@
*/ */
#ifdef __linux__
#define _BSD_SOURCE
#endif
#include <switch.h> #include <switch.h>
#include <switch_version.h> #include <switch_version.h>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论