1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-15 14:09:06 +00:00

Fix linux/osx build

This commit is contained in:
fgenesis 2013-12-11 03:06:38 +01:00
parent 9d3aa5160f
commit 47b8c75dcb

View file

@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifndef BBGE_VECTOR_H
#define BBGE_VECTOR_H
#include <math.h>
#include <cmath>
#include <float.h>
#include <vector>
#include "Event.h"
@ -374,7 +374,7 @@ public:
#ifdef BBGE_BUILD_WINDOWS
return _isnan(x) || _isnan(y) || _isnan(z);
#elif defined(BBGE_BUILD_UNIX)
return isnan(x) || isnan(y) || isnan(z);
return std::isnan(x) || std::isnan(y) || std::isnan(z);
#else
return false;
#endif