windows compile another step closer

This commit is contained in:
Jeff Lenk
2013-04-03 08:54:42 -05:00
parent e35b087f51
commit 43eaa95746
8 changed files with 27 additions and 16 deletions

View File

@@ -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

View File

@@ -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 */

View File

@@ -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 */