mirror of
https://github.com/AxioDL/zeus.git
synced 2025-12-10 05:57:56 +00:00
Windows build fixes
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
#include "Math.hpp"
|
||||
#include "CTransform.hpp"
|
||||
#include "CVector3f.hpp"
|
||||
#if _WIN32
|
||||
#include <intrin.h>
|
||||
#else
|
||||
#include <cpuid.h>
|
||||
#endif
|
||||
|
||||
namespace Zeus
|
||||
{
|
||||
@@ -16,7 +20,7 @@ void getCpuInfo(int level,
|
||||
{
|
||||
#if !GEKKO
|
||||
#if _WIN32
|
||||
unsigned int regs[4];
|
||||
int regs[4];
|
||||
__cpuid(regs, level);
|
||||
*eax = regs[0];
|
||||
*ebx = regs[1];
|
||||
|
||||
Reference in New Issue
Block a user