Added: Surrounded the entire with an ifdef
~g2k
This commit is contained in:
@@ -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,7 +72,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __linux
|
#ifdef __linux
|
||||||
enum Keys{
|
namespace OpenArena
|
||||||
|
{
|
||||||
|
enum Keys{
|
||||||
KEY_UNKNOWN = 0,
|
KEY_UNKNOWN = 0,
|
||||||
KEY_LBUTTON,
|
KEY_LBUTTON,
|
||||||
KEY_RBUTTON,
|
KEY_RBUTTON,
|
||||||
@@ -173,5 +177,7 @@ enum Keys{
|
|||||||
KEY_X,
|
KEY_X,
|
||||||
KEY_Y,
|
KEY_Y,
|
||||||
KEY_Z
|
KEY_Z
|
||||||
}
|
};
|
||||||
|
};
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user