From ea8af08bcfa4b106a68197010629f2c583747020 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 10 Jun 2019 14:44:06 +0300 Subject: [PATCH] - fixed compilation of Cocoa backend src/posix/cocoa/i_main.mm:225:12: error: Objective-C declarations may only appear in global scope src/posix/cocoa/i_main.mm:247:17: error: Objective-C declarations may only appear in global scope src/posix/cocoa/i_main.mm:545:2: error: expected '}' --- src/posix/cocoa/i_main.mm | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/posix/cocoa/i_main.mm b/src/posix/cocoa/i_main.mm index 859fe675d..c5e865ee0 100644 --- a/src/posix/cocoa/i_main.mm +++ b/src/posix/cocoa/i_main.mm @@ -62,9 +62,6 @@ EXTERN_CVAR(Bool, vid_vsync ) // --------------------------------------------------------------------------- -namespace -{ - void Mac_I_FatalError(const char* const message) {