Added: Surrounded the entire with an ifdef

~g2k
This commit is contained in:
2005-06-26 13:10:41 -04:00
parent a579c9612c
commit 13a10c2e29

View File

@@ -1,3 +1,5 @@
#ifndef __keys_h__
#define __keys_h__
//Everything in this file will be abstracted by oa_input //Everything in this file will be abstracted by oa_input
//These definitions will be replaced at that time //These definitions will be replaced at that time
#ifdef WIN32 #ifdef WIN32
@@ -70,6 +72,8 @@
#endif #endif
#ifdef __linux #ifdef __linux
namespace OpenArena
{
enum Keys{ enum Keys{
KEY_UNKNOWN = 0, KEY_UNKNOWN = 0,
KEY_LBUTTON, KEY_LBUTTON,
@@ -173,5 +177,7 @@ enum Keys{
KEY_X, KEY_X,
KEY_Y, KEY_Y,
KEY_Z KEY_Z
} };
};
#endif
#endif #endif