aports/testing/xonotic/xonotic-moncontrol.patch
2011-12-08 22:09:43 -06:00

22 lines
386 B
Diff

--- 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
}