summaryrefslogtreecommitdiff
path: root/data/patches/gnuzilla-bug-1010972.patch
diff options
context:
space:
mode:
Diffstat (limited to 'data/patches/gnuzilla-bug-1010972.patch')
-rw-r--r--data/patches/gnuzilla-bug-1010972.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/data/patches/gnuzilla-bug-1010972.patch b/data/patches/gnuzilla-bug-1010972.patch
new file mode 100644
index 0000000..94eaf2b
--- /dev/null
+++ b/data/patches/gnuzilla-bug-1010972.patch
@@ -0,0 +1,11 @@
+--- a/media/libyuv/source/cpu_id.cc 2015-01-27 19:15:52.069520584 +0100
++++ b/media/libyuv/source/cpu_id.cc 2015-01-30 00:50:10.425853894 +0100
+@@ -97,7 +97,7 @@
+ uint32 xcr0 = 0u;
+ #if defined(_MSC_VER) && defined(_XCR_XFEATURE_ENABLED_MASK)
+ xcr0 = (uint32)(_xgetbv(_XCR_XFEATURE_ENABLED_MASK));
+-#elif defined(_M_IX86)
++#elif defined(_MSC_VER) && defined(_M_IX86)
+ __asm {
+ xor ecx, ecx // xcr 0
+ _asm _emit 0x0f _asm _emit 0x01 _asm _emit 0xd0 // For VS2010 and earlier.