Attempt to fix the Mac build (flutter/engine#3534)

This type appears to be missing in older Mac SDKs.
This commit is contained in:
Adam Barth
2017-03-28 10:55:47 -07:00
committed by GitHub
parent ce2f9c15b7
commit 588c004000

View File

@@ -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