blob: 6b9da18fe5fd8ad18d0d245759fa47e388f80b13 [file] [log] [blame]
// Copyright (c) 2012 The WebM project authors. All Rights Reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be found in the AUTHORS file in the root of the source tree.
#pragma warning(push)
#pragma warning(disable:4005)
// Disable C4005 via pragma
// Pragma required because streams.h includes intsafe.h, which defines
// INTSAFE_E_ARITHMETIC_OVERFLOW without an ifndef check, resulting in a
// warning that breaks our build when compiling with warnings-as-errors flag
// enabled.
#include "baseclasses/streams.h"
#pragma warning(pop)
// TODO(tomfinegan): webrtc uses baseclasses, but has worked around the need
// for the next two lines. Determining how to do so would be
// enlightening, but isn't that important.
// Without these two lines dllentry.cpp from the baseclasses
// sources will cause an error at link time (LNK2001,
// unresolved external symbol) because of use of the following
// two globals via extern.
CFactoryTemplate* g_Templates = NULL; // NOLINT
int g_cTemplates = 0; // NOLINT