From: Perttu Ahola Date: Sun, 15 May 2011 10:06:46 +0000 (+0300) Subject: added missing #ifndef KEYCODE_HEADER to keycode.h X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=17f575b11bf28e8fca67b4fff38f1b556cf43625;p=zefram%2Fminetest%2Fminetest_engine.git added missing #ifndef KEYCODE_HEADER to keycode.h --- diff --git a/src/keycode.h b/src/keycode.h index 4201debc..f19fe344 100644 --- a/src/keycode.h +++ b/src/keycode.h @@ -17,6 +17,9 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifndef KEYCODE_HEADER +#define KEYCODE_HEADER + #include "common_irrlicht.h" irr::EKEY_CODE keyname_to_keycode(const char *name); @@ -24,4 +27,5 @@ irr::EKEY_CODE keyname_to_keycode(const char *name); // Key configuration getter irr::EKEY_CODE getKeySetting(const char *settingname); +#endif