mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-05 10:48:03 -04:00
15 lines
440 B
C++
15 lines
440 B
C++
$NetBSD: patch-media_libsoundtouch_src_cpu__detect__x86.cpp,v 1.4 2014/02/20 13:19:03 ryoon Exp $
|
|
|
|
--- media/libsoundtouch/src/cpu_detect_x86.cpp.orig 2013-06-17 22:13:19.000000000 +0000
|
|
+++ media/libsoundtouch/src/cpu_detect_x86.cpp
|
|
@@ -131,6 +131,9 @@ uint detectCPUextensions(void)
|
|
|
|
return res & ~_dwDisabledISA;
|
|
|
|
+#elif defined(__GNUC__)
|
|
+ // No cpuid.h --> no cpuid support
|
|
+ return 0;
|
|
#else
|
|
|
|
/// One of these is true:
|