public: remove tgmath.h include in C++ mode

This commit is contained in:
Alibek Omarov
2026-03-26 15:49:33 +05:00
parent c421f3136d
commit 82475c3b58

View File

@@ -17,7 +17,7 @@ GNU General Public License for more details.
#define XASH3D_MATHLIB_H
#include <math.h>
#if HAVE_TGMATH_H
#if HAVE_TGMATH_H && !__cplusplus
#include <tgmath.h>
#endif
#include <string.h>