Created
August 9, 2016 00:19
-
-
Save comet0/53bd08f9177ff8f0883537dde790d5c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/eve-core/eve-compat.h b/src/eve-core/eve-compat.h | |
index 73426be..16d5522 100644 | |
--- a/src/eve-core/eve-compat.h | |
+++ b/src/eve-core/eve-compat.h | |
@@ -179,9 +179,9 @@ typedef int SOCKET; | |
#endif /* !HAVE_FINITE */ | |
#ifndef HAVE_ISNAN | |
-# if defined( HAVE_STD_ISNAN ) | |
-# define isnan std::isnan | |
-# elif defined( HAVE__ISNAN ) | |
+//# if defined( HAVE_STD_ISNAN ) | |
+//# define isnan std::isnan | |
+# if defined( HAVE__ISNAN ) | |
# define isnan _isnan | |
# elif defined( HAVE___ISNAN ) | |
# define isnan __isnan | |
diff --git a/src/eve-core/math/Vector3D.h b/src/eve-core/math/Vector3D.h | |
index 4893999..0f96fba 100755 | |
--- a/src/eve-core/math/Vector3D.h | |
+++ b/src/eve-core/math/Vector3D.h | |
@@ -32,7 +32,7 @@ | |
#include "utils/misc.h" | |
-#include <math.h> | |
+#include <cmath> | |
class Vector3D | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment