Host (Windows): fix build on WoA

This commit is contained in:
李通洲
2025-03-27 09:28:46 +08:00
committed by 李通洲
parent d2b3a075b2
commit e73647973d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ typedef struct FFHostResult
} FFHostResult;
const char* ffHostGetMacProductNameWithHwModel(const FFstrbuf* hwModel);
#ifdef __x86_64__
#if __x86_64__
bool ffHostDetectMac(FFHostResult* host);
#endif
const char* ffDetectHost(FFHostResult* host);
+1 -1
View File
@@ -72,7 +72,7 @@ const char* ffDetectHost(FFHostResult* host)
ffCleanUpSmbiosValue(&host->family);
}
#if _WIN64
#if _WIN64 && __x86_64__ // aarch64 also defines _WIN64
ffHostDetectMac(host);
#endif