Host (Windows): fix build on WoA

This commit is contained in:
李通洲 authored and 李通洲 committed 2025-03-27 09:38:32 +08:00
1 parent d2b3a075b2
commit e73647973d
2 files changed
+2 -2

No files matched your search

+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