Skip to content

Commit

Permalink
Undefine ERROR in platform_view_layer.cc (flutter#6675)
Browse files Browse the repository at this point in the history
On Windows the ERROR macro is defined by some headers which breaks the
FML_LOG(ERROR).
  • Loading branch information
amirh authored Oct 26, 2018
1 parent 55e1299 commit 6c2a0b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flow/layers/platform_view_layer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

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

#ifdef ERROR
#undef ERROR
#endif

namespace flow {

PlatformViewLayer::PlatformViewLayer() = default;
Expand Down

0 comments on commit 6c2a0b3

Please sign in to comment.