Packages (Android): fix building

This commit is contained in:
李通洲
2025-08-14 14:41:53 +08:00
parent a99b6d602d
commit 9a11ff8ddb
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -614,6 +614,7 @@ elseif(ANDROID)
src/detection/opengl/opengl_linux.c
src/detection/os/os_android.c
src/detection/packages/packages_linux.c
src/detection/packages/packages_nix.c
src/detection/poweradapter/poweradapter_nosupport.c
src/detection/processes/processes_linux.c
src/detection/sound/sound_nosupport.c
+1 -1
View File
@@ -55,7 +55,7 @@ const char* ffDetectPackages(FFPackagesResult* result, FFPackagesOptions* option
bool ffPackagesReadCache(FFstrbuf* cacheDir, FFstrbuf* cacheContent, const char* filePath, const char* packageId, uint32_t* result);
bool ffPackagesWriteCache(FFstrbuf* cacheDir, FFstrbuf* cacheContent, uint32_t num_elements);
#if (defined(__linux__) && !defined(__ANDROID__)) || defined(__APPLE__)
#if defined(__linux__) || defined(__APPLE__)
uint32_t ffPackagesGetNix(FFstrbuf* baseDir, const char* dirname);
#endif
#ifndef _WIN32