Debug on Xbox.

This commit is contained in:
Renaud Lepage
2005-08-25 22:08:33 +00:00
parent 98734b8046
commit b663fc735f
+9 -4
View File
@@ -15,13 +15,18 @@
LuaManager *LUA = NULL; LuaManager *LUA = NULL;
static LuaFunctionList *g_LuaFunctions = NULL; static LuaFunctionList *g_LuaFunctions = NULL;
#if defined(_MSC_VER) && !defined(_XBOX) #if defined(_XBOX)
#pragma comment(lib, "lua-5.0/lib/LibLua.lib") #if defined(_XDBG)
#pragma comment(lib, "lua-5.0/lib/LibLuaLib.lib") #pragma comment(lib, "lua-5.0/lib/LibLuaXboxD.lib")
#elif defined(_XBOX) #pragma comment(lib, "lua-5.0/lib/LibLuaLibXboxD.lib")
#else
#pragma comment(lib, "lua-5.0/lib/LibLuaXbox.lib") #pragma comment(lib, "lua-5.0/lib/LibLuaXbox.lib")
#pragma comment(lib, "lua-5.0/lib/LibLuaLibXbox.lib") #pragma comment(lib, "lua-5.0/lib/LibLuaLibXbox.lib")
#endif #endif
#elif !defined(_XBOX) && defined(_MSC_VER)
#pragma comment(lib, "lua-5.0/lib/LibLua.lib")
#pragma comment(lib, "lua-5.0/lib/LibLuaLib.lib")
#endif
#if defined(_MSC_VER) || defined (_XBOX) #if defined(_MSC_VER) || defined (_XBOX)
/* "interaction between '_setjmp' and C++ object destruction is non-portable" /* "interaction between '_setjmp' and C++ object destruction is non-portable"
* We don't care; we'll throw a fatal exception immediately anyway. */ * We don't care; we'll throw a fatal exception immediately anyway. */