We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2b3a07 commit e736479Copy full SHA for e736479
src/detection/host/host.h
@@ -14,7 +14,7 @@ typedef struct FFHostResult
14
} FFHostResult;
15
16
const char* ffHostGetMacProductNameWithHwModel(const FFstrbuf* hwModel);
17
-#ifdef __x86_64__
+#if __x86_64__
18
bool ffHostDetectMac(FFHostResult* host);
19
#endif
20
const char* ffDetectHost(FFHostResult* host);
src/detection/host/host_windows.c
@@ -72,7 +72,7 @@ const char* ffDetectHost(FFHostResult* host)
72
ffCleanUpSmbiosValue(&host->family);
73
}
74
75
- #if _WIN64
+ #if _WIN64 && __x86_64__ // aarch64 also defines _WIN64
76
ffHostDetectMac(host);
77
78
0 commit comments