Fixed Nazara compilation on 64bits compiler

Former-commit-id: 5b9d8208691c34e30f4184c6a35f82a690c221f5
This commit is contained in:
Lynix 2012-12-14 23:23:56 +01:00
parent 229f634e01
commit abb2db1c7d
1 changed files with 43 additions and 39 deletions

View File

@ -37,6 +37,9 @@ unsigned int NzHardwareInfoImpl::GetProcessorCount()
bool NzHardwareInfoImpl::IsCpuidSupported()
{
#ifdef NAZARA_PLATFORM_x64
return true; // Toujours supporté sur un processeur 64 bits
#else
#if defined(NAZARA_COMPILER_MSVC)
int supported;
__asm
@ -78,4 +81,5 @@ bool NzHardwareInfoImpl::IsCpuidSupported()
#else
return false;
#endif
#endif
}