提交 8405ec3a 编写于 作者: C Chinmay Garde 提交者: GitHub

Speculative fix for broken build on Mac bots. (#3527)

上级 c7914e25
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册