X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2FintlGUIEditBox.cpp;h=33bf8a13cfb22e155cac32ce0e0cea53ac9b4f1c;hb=c26eb87aec7438d167fa2f460a3f412db09c0ac5;hp=4add61e207acfd75420a394b7bb445be26d28a06;hpb=f9a8efb99235c86eb61b6deb2bc034d5618e45ea;p=oweals%2Fminetest.git diff --git a/src/intlGUIEditBox.cpp b/src/intlGUIEditBox.cpp index 4add61e20..33bf8a13c 100644 --- a/src/intlGUIEditBox.cpp +++ b/src/intlGUIEditBox.cpp @@ -25,13 +25,13 @@ // after program initialization.... // -// Copyright (C) 2002-2010 Nikolaus Gebhardt +// Copyright (C) 2002-2013 Nikolaus Gebhardt // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h #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