mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
windows compile another step closer
This commit is contained in:
@@ -14,6 +14,9 @@
|
||||
#include "zrtp_types.h"
|
||||
#include "zrtp_error.h"
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable:4214)
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* \defgroup dev_protocol Protocol related data types and definitions
|
||||
|
@@ -91,6 +91,9 @@ struct sdp_parser_s {
|
||||
#define pr_error pr_output.pru_error
|
||||
#define pr_session pr_output.pru_session
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#undef STRICT
|
||||
#endif
|
||||
#define STRICT(pr) (pr->pr_strict)
|
||||
|
||||
/* Static parser object used when running out of memory */
|
||||
|
@@ -166,7 +166,9 @@
|
||||
/* #undef const */
|
||||
|
||||
/* Define 'inline' to nothing, since the MSVC compiler doesn't support it. */
|
||||
#define inline
|
||||
#ifndef inline
|
||||
#define inline
|
||||
#endif
|
||||
|
||||
/* Define to `unsigned' if <sys/types.h> does not define. */
|
||||
/* #undef size_t */
|
||||
|
Reference in New Issue
Block a user