Attempt to fix the Mac build (flutter/engine#3534)
This type appears to be missing in older Mac SDKs.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user