From f2760303e4f1dae82fcb1d48e437469c293513a5 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 859fe675de..c5e865ee02 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) {