summaryrefslogtreecommitdiff
path: root/www/firefox52/patches/patch-media_libsoundtouch_src_cpu__detect__x86.cpp
blob: 3007730090f62c1f9e32c05a9fa7cc8547918c6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-media_libsoundtouch_src_cpu__detect__x86.cpp,v 1.1 2017/04/27 01:55:57 ryoon Exp $

--- media/libsoundtouch/src/cpu_detect_x86.cpp.orig	2014-04-18 02:03:48.000000000 +0000
+++ media/libsoundtouch/src/cpu_detect_x86.cpp
@@ -130,7 +130,9 @@ uint detectCPUextensions(void)
 #endif
 
     return res & ~_dwDisabledISA;
-
+#elif defined(__GNUC__)
+    // No cpuid.h --> no cpuid support
+    return 0;
 #else
 
 /// One of these is true: