blob: 81c30415f3c446d92714b08667313f0418bb496d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-src_wesnoth.cpp,v 1.1 2018/06/24 16:02:50 adam Exp $
On macOS, use regular (); wesnoth_main() only needed for app bundle.
--- src/wesnoth.cpp.orig 2018-06-24 12:26:22.000000000 +0000
+++ src/wesnoth.cpp
@@ -1012,7 +1012,7 @@ static void restart_process()
#define error_exit(res) return res
#endif
-#ifdef __APPLE__
+#if 0
extern "C" int wesnoth_main(int argc, char** argv);
int wesnoth_main(int argc, char** argv)
#else
|