xash3d-fwgs: check if HAVE_TGMATH_H is set to positive value rather it's just defined

This commit is contained in:
Alibek Omarov 2019-11-05 01:41:35 +03:00
parent b79c95d295
commit 15924aebaa
7 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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