Skip to content

Commit

Permalink
Speculative fix for broken build on Mac bots. (flutter#3527)
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmaygarde authored Mar 27, 2017
1 parent c7914e2 commit 8405ec3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
1 change: 1 addition & 0 deletions fml/platform/darwin/message_loop_darwin.mm
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#include "flutter/fml/platform/darwin/message_loop_darwin.h"

#include <CoreFoundation/CoreFoundation.h>
#include <Foundation/Foundation.h>

namespace fml {
Expand Down
10 changes: 2 additions & 8 deletions fml/thread.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,15 @@

#include "flutter/fml/thread.h"

#include <pthread.h>

#include <memory>
#include <string>

#include "flutter/fml/message_loop.h"
#include "lib/ftl/build_config.h"
#include "lib/ftl/synchronization/waitable_event.h"

#if OS_MACOSX
#include <pthread/pthread.h>
#elif OS_LINUX || OS_ANDROID
#include <pthread.h>
#else
#error Unsupported Platform
#endif

namespace fml {

Thread::Thread(const std::string& name) : joined_(false) {
Expand Down

0 comments on commit 8405ec3

Please sign in to comment.