move cpuid_flags.h header to common

This commit is contained in:
Konstantinos Margaritis
2020-10-08 20:48:20 +03:00
parent 5d773dd9db
commit d2cf1a7882
4 changed files with 7 additions and 5 deletions

View File

@@ -31,7 +31,7 @@
#include "ue2common.h"
#if !defined(_WIN32) && !defined(CPUID_H_)
#if (defined(ARCH_IA32) || defined(ARCH_X86_64)) && !defined(_WIN32) && !defined(CPUID_H_)
#include <cpuid.h>
/* system header doesn't have a header guard */
#define CPUID_H_

View File

@@ -29,8 +29,9 @@
#include "hs_compile.h" // for various hs_platform_info flags
#include "target_info.h"
#if defined(ARCH_X86_64)
#include "util/arch/x86/cpuid_flags.h"
#include "util/arch/common/cpuid_flags.h"
#if defined(ARCH_IA32) || defined(ARCH_X86_64)
#elif defined(ARCH_ARM32) || defined(ARCH_AARCH64)
#endif
namespace ue2 {