mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-11 15:47:55 +00:00
xash3d-fwgs: check if HAVE_TGMATH_H is set to positive value rather it's just defined
This commit is contained in:
parent
b79c95d295
commit
15924aebaa
@ -15,7 +15,7 @@ GNU General Public License for more details.
|
||||
|
||||
#include "common.h"
|
||||
#include "mathlib.h"
|
||||
#ifdef HAVE_TGMATH_H
|
||||
#if HAVE_TGMATH_H
|
||||
#include <tgmath.h>
|
||||
#endif
|
||||
|
||||
|
@ -21,7 +21,7 @@ GNU General Public License for more details.
|
||||
#include <time.h>
|
||||
#include "stdio.h"
|
||||
#include "crtlib.h"
|
||||
#ifdef HAVE_TGMATH_H
|
||||
#if HAVE_TGMATH_H
|
||||
#include <tgmath.h>
|
||||
#endif
|
||||
|
||||
|
@ -18,7 +18,7 @@ GNU General Public License for more details.
|
||||
#include "com_model.h"
|
||||
#include "mathlib.h"
|
||||
#include "eiface.h"
|
||||
#ifdef HAVE_TGMATH_H
|
||||
#if HAVE_TGMATH_H
|
||||
#include <tgmath.h>
|
||||
#endif
|
||||
|
||||
|
@ -17,7 +17,7 @@ GNU General Public License for more details.
|
||||
#define MATHLIB_H
|
||||
|
||||
#include <math.h>
|
||||
#ifdef HAVE_TGMATH_H
|
||||
#if HAVE_TGMATH_H
|
||||
#include <tgmath.h>
|
||||
#endif
|
||||
|
||||
|
@ -22,7 +22,7 @@ GNU General Public License for more details.
|
||||
#include "cl_tent.h"
|
||||
#include "pm_local.h"
|
||||
#include "studio.h"
|
||||
#ifdef HAVE_TGMATH_H
|
||||
#if HAVE_TGMATH_H
|
||||
#include <tgmath.h>
|
||||
#endif
|
||||
|
||||
|
@ -19,7 +19,7 @@ GNU General Public License for more details.
|
||||
#include "beamdef.h"
|
||||
#include "particledef.h"
|
||||
#include "entity_types.h"
|
||||
#ifdef HAVE_TGMATH_H
|
||||
#if HAVE_TGMATH_H
|
||||
#include <tgmath.h>
|
||||
#endif
|
||||
|
||||
|
@ -24,7 +24,7 @@ GNU General Public License for more details.
|
||||
//#include "client.h"
|
||||
#include "pmtrace.h"
|
||||
|
||||
#ifdef HAVE_TGMATH_H
|
||||
#if HAVE_TGMATH_H
|
||||
#include <tgmath.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user