mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Speculative fix for broken build on Mac bots. (#3527)
This commit is contained in:
parent
c7914e2573
commit
8405ec3ab2
@ -4,6 +4,7 @@
|
||||
|
||||
#include "flutter/fml/platform/darwin/message_loop_darwin.h"
|
||||
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
#include <Foundation/Foundation.h>
|
||||
|
||||
namespace fml {
|
||||
|
||||
@ -4,6 +4,8 @@
|
||||
|
||||
#include "flutter/fml/thread.h"
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
@ -11,14 +13,6 @@
|
||||
#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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user