swr/rast: add guards for cpuid on Linux
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
@@ -38,8 +38,10 @@
|
||||
#include <intrin.h>
|
||||
#else
|
||||
#include <string.h>
|
||||
#if !defined(__cpuid)
|
||||
#include <cpuid.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
class InstructionSet
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user