Skip to content

Commit

Permalink
Fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
knopp committed Sep 17, 2020
1 parent 146a855 commit a78fe6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions shell/common/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,11 @@ if (enable_unittests) {
"//third_party/skia",
]

defines = [
# Required for MSVC STL
"_ENABLE_ATOMIC_ALIGNMENT_FIX"
]

public_configs = []

# SwiftShader only supports x86/x64_64
Expand Down
5 changes: 0 additions & 5 deletions shell/common/shell_test_external_view_embedder.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
#include "flutter/flow/embedded_views.h"
#include "flutter/fml/raster_thread_merger.h"

// Required for MSVC STL
#ifndef _ENABLE_ATOMIC_ALIGNMENT_FIX
#define _ENABLE_ATOMIC_ALIGNMENT_FIX
#endif

namespace flutter {

//------------------------------------------------------------------------------
Expand Down

0 comments on commit a78fe6f

Please sign in to comment.