fix windows pch

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13392 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-05-19 20:12:32 +00:00
parent 724f56e832
commit 34f4535cb2
3 changed files with 10 additions and 9 deletions

View File

@ -59,9 +59,19 @@
#define _XOPEN_SOURCE 600
#endif
#endif
#ifdef __linux__
#ifndef _BSD_SOURCE
#define _BSD_SOURCE
#endif
#endif
#ifndef __BSD_VISIBLE
#define __BSD_VISIBLE 1
#endif
#ifdef __linux__
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#endif
#endif
#include <stdlib.h>
#include <stdio.h>

View File

@ -30,12 +30,6 @@
*
*/
#ifdef __linux__
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#endif
#include <switch.h>
#ifndef WIN32
#include <switch_private.h>

View File

@ -34,9 +34,6 @@
*/
#ifdef __linux__
#define _BSD_SOURCE
#endif
#include <switch.h>
#include <switch_version.h>