FPU* FPU::_instance (0);
-#ifndef COMPILER_MSVC
+#ifndef PLATFORM_WINDOWS
/* use __cpuid() as the name to match the MSVC intrinsic */
regs[3] = edx;
}
+#endif /* !PLATFORM_WINDOWS */
+
+#ifndef COMPILER_MSVC
+
static uint64_t
_xgetbv (uint32_t xcr)
{
#endif
}
-#define _XCR_XFEATURE_ENABLED_MASK 0
-
#endif /* !COMPILER_MSVC */
+#ifndef _XCR_XFEATURE_ENABLED_MASK
+#define _XCR_XFEATURE_ENABLED_MASK 0
+#endif
+
FPU*
FPU::instance()
{