blob: 9d9c07aa32e2d7183438b2e0e3520a405a03f4f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-mozilla_media_libsoundtouch_src_cpu__detect__x86.cpp,v 1.2 2014/07/27 20:04:59 ryoon Exp $
--- mozilla/media/libsoundtouch/src/cpu_detect_x86.cpp.orig 2014-07-18 00:05:38.000000000 +0000
+++ mozilla/media/libsoundtouch/src/cpu_detect_x86.cpp
@@ -125,7 +125,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:
|