mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
add stdio.h include for msvc, remove truncating cast warning, change to dynamic runtime on msvc. You can not pass FILE * between mods with differrent runtimes on msvc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1125 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -42,6 +42,8 @@ extern "C" {
|
||||
#pragma warning (disable:810 869 981 279 1469 188)
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
||||
#ifndef FREESWITCHCORE_EXPORTS
|
||||
@@ -104,7 +106,6 @@ typedef unsigned long in_addr_t;
|
||||
#define PACKED __attribute__ ((__packed__))
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#include <inttypes.h>
|
||||
#ifndef getpid
|
||||
#include <unistd.h>
|
||||
|
||||
Reference in New Issue
Block a user