aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaliy <numzer0@yandex.ru>2018-11-18 13:48:16 +0300
committerLoïc Blot <nerzhul@users.noreply.github.com>2018-11-18 11:48:16 +0100
commit4900ff0c4b9ebf58b05a8a0859c38d1ed7311aa9 (patch)
treea8764a5ea7c9eeba10bcf2695fec8feae0406e59
parent3b112889892f6652d4e80d97e45131f179b1fbe4 (diff)
downloadminetest-4900ff0c4b9ebf58b05a8a0859c38d1ed7311aa9.tar.gz
minetest-4900ff0c4b9ebf58b05a8a0859c38d1ed7311aa9.tar.bz2
minetest-4900ff0c4b9ebf58b05a8a0859c38d1ed7311aa9.zip
Fix Android build (#7873)
-rw-r--r--src/irrlichttypes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/irrlichttypes.h b/src/irrlichttypes.h
index c1856bfa0..794776b26 100644
--- a/src/irrlichttypes.h
+++ b/src/irrlichttypes.h
@@ -31,7 +31,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#endif
#include <irrTypes.h>
-#include <irrMath.h>
using namespace irr;
@@ -52,6 +51,9 @@ namespace irr {
#if (IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR >= 9)
namespace core {
+ template <typename T>
+ inline T roundingError();
+
template <>
inline s16 roundingError()
{