From 597cadd347ca2c5ea2fd954465e801e36f81f2b6 Mon Sep 17 00:00:00 2001 From: Renaud Lepage Date: Fri, 15 Sep 2006 03:09:17 +0000 Subject: [PATCH] "Ugly" Xbox fix. It's that, or renaming all the DELETE define of the InputHandler and its users. --- stepmania/src/arch/InputHandler/InputHandler.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stepmania/src/arch/InputHandler/InputHandler.h b/stepmania/src/arch/InputHandler/InputHandler.h index 12be5c5189..cbfc0ff5ca 100644 --- a/stepmania/src/arch/InputHandler/InputHandler.h +++ b/stepmania/src/arch/InputHandler/InputHandler.h @@ -22,6 +22,11 @@ */ #include "RageInputDevice.h" // for InputDevice +// Macro override. Defined in the Xbox's winnt.h +#ifdef _XBOX +#undef DELETE +#endif + class InputHandler { public: