Disable "new behavior: elements of array will be default initialized" warning.

TBR=astor@webrtc.org
TEST=trybots
Review URL: https://webrtc-codereview.appspot.com/710012

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2609 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
andrew@webrtc.org 2012-08-14 00:05:56 +00:00
parent 8e75e6092d
commit 88b8b0da4b

View File

@ -13,16 +13,22 @@
#include "typedefs.h"
#if defined(_MSC_VER)
// Disable "new behavior: elements of array will be default initialized"
// warning. Affects OverUseDetectorOptions.
#pragma warning(disable:4351)
#endif
#ifdef WEBRTC_EXPORT
#define WEBRTC_DLLEXPORT _declspec(dllexport)
#define WEBRTC_DLLEXPORT _declspec(dllexport)
#elif WEBRTC_DLL
#define WEBRTC_DLLEXPORT _declspec(dllimport)
#define WEBRTC_DLLEXPORT _declspec(dllimport)
#else
#define WEBRTC_DLLEXPORT
#define WEBRTC_DLLEXPORT
#endif
#ifndef NULL
#define NULL 0
#define NULL 0
#endif
#define RTP_PAYLOAD_NAME_SIZE 32