From 82475c3b581eb5fca54016a7c56d816d9011bf15 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 26 Mar 2026 15:49:33 +0500 Subject: [PATCH] public: remove tgmath.h include in C++ mode --- public/xash3d_mathlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/xash3d_mathlib.h b/public/xash3d_mathlib.h index dcef9384..0156fce1 100644 --- a/public/xash3d_mathlib.h +++ b/public/xash3d_mathlib.h @@ -17,7 +17,7 @@ GNU General Public License for more details. #define XASH3D_MATHLIB_H #include -#if HAVE_TGMATH_H +#if HAVE_TGMATH_H && !__cplusplus #include #endif #include