mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
fix windows pch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13392 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
724f56e832
commit
34f4535cb2
@ -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>
|
||||
|
@ -30,12 +30,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifdef __linux__
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <switch.h>
|
||||
#ifndef WIN32
|
||||
#include <switch_private.h>
|
||||
|
@ -34,9 +34,6 @@
|
||||
*/
|
||||
|
||||
|
||||
#ifdef __linux__
|
||||
#define _BSD_SOURCE
|
||||
#endif
|
||||
|
||||
#include <switch.h>
|
||||
#include <switch_version.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user