aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2018-03-11 17:52:46 +0100
committerLoic Blot <loic.blot@unix-experience.fr>2018-03-11 17:52:46 +0100
commitf7938fab9fa675c60bfa249f01b2b608196cdbc0 (patch)
tree8c2a8161c92d2f9d0efd38572a03b6f0fd21dfef
parenta1c5a011421840f4b2f9d8b6cc9b9724cf333168 (diff)
downloadminetest-f7938fab9fa675c60bfa249f01b2b608196cdbc0.tar.gz
minetest-f7938fab9fa675c60bfa249f01b2b608196cdbc0.tar.bz2
minetest-f7938fab9fa675c60bfa249f01b2b608196cdbc0.zip
Finally fix android build
-rw-r--r--src/gui/intlGUIEditBox.cpp3
-rw-r--r--src/gui/intlGUIEditBox.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/intlGUIEditBox.cpp b/src/gui/intlGUIEditBox.cpp
index 8c661b9f3..0b7adffc4 100644
--- a/src/gui/intlGUIEditBox.cpp
+++ b/src/gui/intlGUIEditBox.cpp
@@ -32,13 +32,12 @@
#include <util/numeric.h>
#include "intlGUIEditBox.h"
-#if defined(_IRR_COMPILE_WITH_GUI_) && IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR < 9
+#if defined(_IRR_COMPILE_WITH_GUI_) && IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR < 9 || defined(__ANDROID__)
#include "IGUISkin.h"
#include "IGUIEnvironment.h"
#include "IGUIFont.h"
#include "IVideoDriver.h"
-//#include "rect.h"
//#include "irrlicht/os.cpp"
#include "porting.h"
//#include "Keycodes.h"
diff --git a/src/gui/intlGUIEditBox.h b/src/gui/intlGUIEditBox.h
index 7ebdaf1b7..3aa4f00b4 100644
--- a/src/gui/intlGUIEditBox.h
+++ b/src/gui/intlGUIEditBox.h
@@ -7,7 +7,7 @@
#include "IrrCompileConfig.h"
//#ifdef _IRR_COMPILE_WITH_GUI_
-#include "IGUIEditBox.h"
+#include <IGUIEditBox.h>
#include "irrArray.h"
#include "IOSOperator.h"
#include "IGUIScrollBar.h"