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
7 changed files with 7 additions and 7 deletions
|
@ -15,7 +15,7 @@ GNU General Public License for more details.
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "mathlib.h"
|
#include "mathlib.h"
|
||||||
#ifdef HAVE_TGMATH_H
|
#if HAVE_TGMATH_H
|
||||||
#include <tgmath.h>
|
#include <tgmath.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ GNU General Public License for more details.
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include "stdio.h"
|
#include "stdio.h"
|
||||||
#include "crtlib.h"
|
#include "crtlib.h"
|
||||||
#ifdef HAVE_TGMATH_H
|
#if HAVE_TGMATH_H
|
||||||
#include <tgmath.h>
|
#include <tgmath.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ GNU General Public License for more details.
|
||||||
#include "com_model.h"
|
#include "com_model.h"
|
||||||
#include "mathlib.h"
|
#include "mathlib.h"
|
||||||
#include "eiface.h"
|
#include "eiface.h"
|
||||||
#ifdef HAVE_TGMATH_H
|
#if HAVE_TGMATH_H
|
||||||
#include <tgmath.h>
|
#include <tgmath.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ GNU General Public License for more details.
|
||||||
#define MATHLIB_H
|
#define MATHLIB_H
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#ifdef HAVE_TGMATH_H
|
#if HAVE_TGMATH_H
|
||||||
#include <tgmath.h>
|
#include <tgmath.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ GNU General Public License for more details.
|
||||||
#include "cl_tent.h"
|
#include "cl_tent.h"
|
||||||
#include "pm_local.h"
|
#include "pm_local.h"
|
||||||
#include "studio.h"
|
#include "studio.h"
|
||||||
#ifdef HAVE_TGMATH_H
|
#if HAVE_TGMATH_H
|
||||||
#include <tgmath.h>
|
#include <tgmath.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ GNU General Public License for more details.
|
||||||
#include "beamdef.h"
|
#include "beamdef.h"
|
||||||
#include "particledef.h"
|
#include "particledef.h"
|
||||||
#include "entity_types.h"
|
#include "entity_types.h"
|
||||||
#ifdef HAVE_TGMATH_H
|
#if HAVE_TGMATH_H
|
||||||
#include <tgmath.h>
|
#include <tgmath.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ GNU General Public License for more details.
|
||||||
//#include "client.h"
|
//#include "client.h"
|
||||||
#include "pmtrace.h"
|
#include "pmtrace.h"
|
||||||
|
|
||||||
#ifdef HAVE_TGMATH_H
|
#if HAVE_TGMATH_H
|
||||||
#include <tgmath.h>
|
#include <tgmath.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue