Fix non-LLVM build.

This commit is contained in:
Laura Kirsch
2026-01-27 20:09:25 +01:00
committed by Christoffer Lerno
parent a9d93c93d5
commit 3d512abaf7
3 changed files with 3 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ static const char *llvm_arch_name(ArchType ty)
UNREACHABLE
}
void hostinfo_x86_features(X86Features *cpu_features)
void hostinfo_x86_features(CpuFeatures *cpu_features)
{
#if defined(__x86_64__) || defined(_M_X64)
// TODO

View File

@@ -1,7 +1,7 @@
#if !defined(HOSTINFO_H) && !LLVM_AVAILABLE
#define HOSTINFO_H
void hostinfo_x86_features(X86Features *cpu_features);
void hostinfo_x86_features(CpuFeatures *cpu_features);
ArchType hostinfo_arch_type(void);
EnvironmentType hostinfo_env_type(void);
OsType hostinfo_os_type(void);