video_mixer: fix build for non-x86

Change-Id: Id5701d472415fe68685c3d8126566b93443810bb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3988
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
X512 2021-05-24 06:44:41 +09:00 committed by Adrien Destugues
parent 5fcf71f504
commit 1542053775
2 changed files with 7 additions and 1 deletions

View File

@ -26,6 +26,8 @@ CPUCapabilities::CPUCapabilities()
PrintCapabilities();
}
#ifdef __i386__
void
CPUCapabilities::setIntelCapabilities()
{
@ -85,6 +87,8 @@ CPUCapabilities::setIntelCapabilities()
}
}
#endif
bool
CPUCapabilities::HasMMX()
{

View File

@ -33,8 +33,10 @@ class CPUCapabilities {
private:
uint32 capabilities;
#ifdef __i386__
void setIntelCapabilities();
#endif
};
#endif //__CPU_CAPABILITIES__