diff --git a/gfx/2d/Factory.cpp b/gfx/2d/Factory.cpp index f7ada3c8d11..fe07c0896ea 100644 --- a/gfx/2d/Factory.cpp +++ b/gfx/2d/Factory.cpp @@ -139,6 +139,7 @@ __cpuid(int CPUInfo[4], int InfoType) #endif #endif +#ifdef USE_SSE2 static bool HasCPUIDBit(unsigned int level, CPUIDRegister reg, unsigned int bit) { @@ -150,7 +151,7 @@ HasCPUIDBit(unsigned int level, CPUIDRegister reg, unsigned int bit) __cpuid((int *)regs, level); return !!(unsigned(regs[reg]) & bit); } - +#endif #endif namespace mozilla {