mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
move cpuid_flags.h header to common
This commit is contained in:
parent
5d773dd9db
commit
d2cf1a7882
@ -569,7 +569,7 @@ set (hs_exec_common_SRCS
|
||||
src/alloc.c
|
||||
src/scratch.c
|
||||
src/util/arch/x86/cpuid_flags.c
|
||||
src/util/arch/x86/cpuid_flags.h
|
||||
src/util/arch/common/cpuid_flags.h
|
||||
src/util/multibit.c
|
||||
)
|
||||
|
||||
|
@ -44,9 +44,10 @@
|
||||
#include "parser/prefilter.h"
|
||||
#include "parser/unsupported.h"
|
||||
#include "util/compile_error.h"
|
||||
#include "util/arch/common/cpuid_flags.h"
|
||||
#if defined(ARCH_X86_64)
|
||||
#include "util/arch/x86/cpuid_flags.h"
|
||||
#include "util/arch/x86/cpuid_inline.h"
|
||||
#elif defined(ARCH_ARM32) || defined(ARCH_AARCH64)
|
||||
#endif
|
||||
#include "util/depth.h"
|
||||
#include "util/popcount.h"
|
||||
|
@ -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_
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user