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:
@@ -4,6 +4,10 @@
|
||||
|
||||
#include "flutter/flow/layers/platform_view_layer.h"
|
||||
|
||||
#ifdef ERROR
|
||||
#undef ERROR
|
||||
#endif
|
||||
|
||||
namespace flow {
|
||||
|
||||
PlatformViewLayer::PlatformViewLayer() = default;
|
||||
|
||||
Reference in New Issue
Block a user