swr/rast: add guards for cpuid on Linux

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
Alok Hota
2018-09-12 11:53:05 -05:00
parent ae436203d9
commit e7f381e9ca
@@ -38,8 +38,10 @@
#include <intrin.h>
#else
#include <string.h>
#if !defined(__cpuid)
#include <cpuid.h>
#endif
#endif
class InstructionSet
{