mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 812667 - Make soundtouch compile properly if cpuid.h is not present. r=khuey
This commit is contained in:
parent
7ff5ce9065
commit
93ac2a5890
@ -475,7 +475,7 @@ unchanged:
|
||||
-
|
||||
- #if defined(__GNUC__) && defined(__i386__)
|
||||
- // gcc
|
||||
+ #if defined(__GNUC__)
|
||||
+ #if defined(__GNUC__) && defined (HAVE_CPUID_H)
|
||||
+ // gcc and clang
|
||||
#include "cpuid.h"
|
||||
#elif defined(_M_IX86)
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include "STTypes.h"
|
||||
|
||||
#if defined(SOUNDTOUCH_ALLOW_X86_OPTIMIZATIONS)
|
||||
#if defined(__GNUC__)
|
||||
#if defined(__GNUC__) && defined (HAVE_CPUID_H)
|
||||
// gcc and clang
|
||||
#include "cpuid.h"
|
||||
#elif defined(_M_IX86)
|
||||
|
Loading…
Reference in New Issue
Block a user