Undefine ERROR in platform_view_layer.cc (flutter/engine#6675)

On Windows the ERROR macro is defined by some headers which breaks the
FML_LOG(ERROR).
This commit is contained in:
Amir Hardon
2018-10-26 16:06:39 -07:00
committed by GitHub
parent 285dab47c3
commit b45990d8d5

View File

@@ -4,6 +4,10 @@
#include "flutter/flow/layers/platform_view_layer.h"
#ifdef ERROR
#undef ERROR
#endif
namespace flow {
PlatformViewLayer::PlatformViewLayer() = default;