CPUCache (FreeBSD): fix build

This commit is contained in:
李通洲 2024-06-05 15:37:39 +08:00
parent 84c2564c54
commit 1e5a6b2eef
No known key found for this signature in database
GPG Key ID: 269AD4F5325A22A3
2 changed files with 8 additions and 1 deletions

View File

@ -544,7 +544,7 @@ elseif(BSD)
src/detection/brightness/brightness_bsd.c
src/detection/chassis/chassis_bsd.c
src/detection/cpu/cpu_bsd.c
src/detection/cpucache/cpucache_bsd.c
src/detection/cpucache/cpucache_nosupport.c
src/detection/cpuusage/cpuusage_bsd.c
src/detection/cursor/cursor_linux.c
src/detection/disk/disk_bsd.c

View File

@ -0,0 +1,7 @@
#include "cpucache.h"
#include "common/sysctl.h"
const char* ffDetectCPUCache(FF_MAYBE_UNUSED FFCPUCacheResult* result)
{
return "Not supported on this platform";
}