X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2FintlGUIEditBox.cpp;h=33bf8a13cfb22e155cac32ce0e0cea53ac9b4f1c;hb=c26eb87aec7438d167fa2f460a3f412db09c0ac5;hp=32cca48667ada6956e5e48e053d6f345f32e1ce3;hpb=979ca23f1eae1adeb8b0083dffe7203c54d87395;p=oweals%2Fminetest.git diff --git a/src/intlGUIEditBox.cpp b/src/intlGUIEditBox.cpp index 32cca4866..33bf8a13c 100644 --- a/src/intlGUIEditBox.cpp +++ b/src/intlGUIEditBox.cpp @@ -31,7 +31,7 @@ #include "intlGUIEditBox.h" -#ifdef _IRR_COMPILE_WITH_GUI_ +#if defined(_IRR_COMPILE_WITH_GUI_) && IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR < 9 #include "IGUISkin.h" #include "IGUIEnvironment.h" @@ -41,6 +41,7 @@ //#include "irrlicht/os.cpp" #include "porting.h" //#include "Keycodes.h" +#include "log.h" /* todo: @@ -270,7 +271,7 @@ bool intlGUIEditBox::OnEvent(const SEvent& event) break; case EET_KEY_INPUT_EVENT: { -#if defined(linux) +#if (defined(linux) || defined(__linux) || defined(__FreeBSD__)) // ################################################################ // ValkaTR: // This part is the difference from the original intlGUIEditBox