projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dadac0e
)
added missing #ifndef KEYCODE_HEADER to keycode.h
author
Perttu Ahola
<celeron55@gmail.com>
Sun, 15 May 2011 10:06:46 +0000
(13:06 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Sun, 15 May 2011 10:06:46 +0000
(13:06 +0300)
src/keycode.h
patch
|
blob
|
history
diff --git
a/src/keycode.h
b/src/keycode.h
index 4201debc4b3417331625f85bdb0d99c3a2032fe9..f19fe344282c77c8f999b2ddffe7cbb286a9d38b 100644
(file)
--- 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