From 7cdf466720ccf90867046cbf69a7c4e6c081d21b Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 18 Mar 2017 13:26:08 +1000 Subject: [PATCH] Disable matrix if XONOTIC isn't defined --- qcsrc/lib/_all.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qcsrc/lib/_all.inc b/qcsrc/lib/_all.inc index 65dc080c2..136c4e7f6 100644 --- a/qcsrc/lib/_all.inc +++ b/qcsrc/lib/_all.inc @@ -122,7 +122,9 @@ void isnt_bool(float this) { print(ftos(this)); } #include "vector.qh" #include "yenc.qh" -#include "matrix/_mod.inc" +#if XONOTIC + #include "matrix/_mod.inc" +#endif #ifndef SVQC #define objerror_safe(e) -- 2.39.2