зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1266292 - Remove unnecessary compiler checks for MSVS 2010 in gfx/2d/. r=bas
This commit is contained in:
Родитель
7157850587
Коммит
d95cf073f8
|
@ -87,9 +87,8 @@ HasCPUIDBit(unsigned int level, CPUIDRegister reg, unsigned int bit)
|
|||
#define HAVE_CPU_DETECTION
|
||||
#else
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER >= 1600 && (defined(_M_IX86) || defined(_M_AMD64))
|
||||
#if defined(_MSC_VER) && (defined(_M_IX86) || defined(_M_AMD64))
|
||||
// MSVC 2005 or later supports __cpuid by intrin.h
|
||||
// But it does't work on MSVC 2005 with SDK 7.1 (Bug 753772)
|
||||
#include <intrin.h>
|
||||
|
||||
#define HAVE_CPU_DETECTION
|
||||
|
|
|
@ -12,9 +12,6 @@
|
|||
#include "Types.h"
|
||||
#include "Point.h"
|
||||
#include <math.h>
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1600)
|
||||
#define hypotf _hypotf
|
||||
#endif
|
||||
|
||||
namespace mozilla {
|
||||
namespace gfx {
|
||||
|
|
Загрузка…
Ссылка в новой задаче