Skip to content

Commit 6c2a0b3

Browse files
authored
Undefine ERROR in platform_view_layer.cc (flutter#6675)
On Windows the ERROR macro is defined by some headers which breaks the FML_LOG(ERROR).
1 parent 55e1299 commit 6c2a0b3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

flow/layers/platform_view_layer.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
#include "flutter/flow/layers/platform_view_layer.h"
66

7+
#ifdef ERROR
8+
#undef ERROR
9+
#endif
10+
711
namespace flow {
812

913
PlatformViewLayer::PlatformViewLayer() = default;

0 commit comments

Comments
 (0)