From 588c0040007dcee9b1c1675734b3cb0162b55ba3 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Tue, 28 Mar 2017 10:55:47 -0700 Subject: [PATCH] Attempt to fix the Mac build (flutter/engine#3534) This type appears to be missing in older Mac SDKs. --- engine/src/flutter/fml/platform/darwin/message_loop_darwin.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/fml/platform/darwin/message_loop_darwin.mm b/engine/src/flutter/fml/platform/darwin/message_loop_darwin.mm index 93e6cf935d..90977a8b56 100644 --- a/engine/src/flutter/fml/platform/darwin/message_loop_darwin.mm +++ b/engine/src/flutter/fml/platform/darwin/message_loop_darwin.mm @@ -41,7 +41,7 @@ void MessageLoopDarwin::Run() { while (running_) { @autoreleasepool { - CFRunLoopRunResult result = + int result = CFRunLoopRunInMode(kCFRunLoopDefaultMode, kDistantFuture, YES); if (result == kCFRunLoopRunStopped || result == kCFRunLoopRunFinished) { // This handles the case where the loop is terminated using