Finally fix android build
authorLoic Blot <loic.blot@unix-experience.fr>
Sun, 11 Mar 2018 16:52:46 +0000 (17:52 +0100)
committerLoic Blot <loic.blot@unix-experience.fr>
Sun, 11 Mar 2018 16:52:46 +0000 (17:52 +0100)
src/gui/intlGUIEditBox.cpp
src/gui/intlGUIEditBox.h

index 8c661b9f3746b493f45d31a77e226a57596c87f1..0b7adffc44c7b405f5e1a37c2278ea65e1d6a5fd 100644 (file)
 #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"
index 7ebdaf1b7ad044da178b47922d3fe0085159ed28..3aa4f00b406806c0af6f29844cbba4cb70562e90 100644 (file)
@@ -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"