diff options
Diffstat (limited to 'testing/xonotic/xonotic-moncontrol.patch')
-rw-r--r-- | testing/xonotic/xonotic-moncontrol.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/xonotic/xonotic-moncontrol.patch b/testing/xonotic/xonotic-moncontrol.patch new file mode 100644 index 0000000000..9d88866893 --- /dev/null +++ b/testing/xonotic/xonotic-moncontrol.patch @@ -0,0 +1,21 @@ +--- Xonotic.orig/source/darkplaces/sys_shared.c ++++ Xonotic/source/darkplaces/sys_shared.c +@@ -50,18 +50,8 @@ + exit(returnvalue); + } + +-#if defined(__linux__) || defined(__FreeBSD__) +-#ifdef __cplusplus +-extern "C" +-#endif +-int moncontrol(int); +-#endif +- + void Sys_AllowProfiling(qboolean enable) + { +-#if defined(__linux__) || defined(__FreeBSD__) +- moncontrol(enable); +-#endif + } + + |