Little Xbox fix : FAILED macro was already defined somewhere deep.

This commit is contained in:
Renaud Lepage
2006-01-23 16:23:31 +00:00
parent 4874587cba
commit e03f379ba4
+5
View File
@@ -3,6 +3,11 @@
#ifndef ScreenServiceAction_H #ifndef ScreenServiceAction_H
#define ScreenServiceAction_H #define ScreenServiceAction_H
//There's a FAILED macro somewhere in winerror.h, which gets included with Xbox.
#if defined(_XBOX)
#undef FAILED
#endif
#include "ScreenPrompt.h" #include "ScreenPrompt.h"
class ScreenServiceAction : public ScreenPrompt class ScreenServiceAction : public ScreenPrompt