Fixed Qt project compile on Windows

This commit is contained in:
Xawotihs
2010-10-16 12:17:25 +00:00
parent 817a666a2f
commit e082deaddf
4 changed files with 21 additions and 16 deletions

View File

@@ -79,11 +79,14 @@ GameApp::~GameApp()
void GameApp::Create()
{
srand((unsigned int)time(0)); // initialize random
#ifndef QT_CONFIG
#if defined (WIN32)
_CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
#elif not defined (LINUX)
pspfpu_set_enable(0); //disable FPU Exceptions until we find where the FPU errors come from
#endif
#endif //QT_CONFIG
//_CrtSetBreakAlloc(368);
LOG("starting Game");