From e7a14e4bb852bda0063a3751eab5c48ace489193 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 (#3534) This type appears to be missing in older Mac SDKs. --- fml/platform/darwin/message_loop_darwin.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fml/platform/darwin/message_loop_darwin.mm b/fml/platform/darwin/message_loop_darwin.mm index 93e6cf935d..90977a8b56 100644 --- a/fml/platform/darwin/message_loop_darwin.mm +++ b/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 -- GitLab