]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_shared.c
Fix pure data entities being linked into the area grid, causing performance hit
[xonotic/darkplaces.git] / sys_shared.c
index c32e9d2390415f6ee633a1179a85eb578e3175f7..f1c0d60c3324cf3c48ca39fbd939891d39adf95f 100644 (file)
@@ -69,7 +69,7 @@ void Sys_AllowProfiling(qboolean enable)
        else
                moncleanup();
 #endif
-#elif defined(__linux__) || defined(__FreeBSD__)
+#elif (defined(__linux__) && (defined(__GLIBC__) || defined(__GNU_LIBRARY__))) || defined(__FreeBSD__)
        extern int moncontrol(int);
        moncontrol(enable);
 #endif