mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
16 lines
448 B
C++
16 lines
448 B
C++
$NetBSD: patch-media_libsoundtouch_src_cpu__detect__x86.cpp,v 1.1 2014/11/03 12:18:32 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:
|