Skip to content

Commit 9a11ff8

Browse files
committed
Packages (Android): fix building
1 parent a99b6d6 commit 9a11ff8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,7 @@ elseif(ANDROID)
614614
src/detection/opengl/opengl_linux.c
615615
src/detection/os/os_android.c
616616
src/detection/packages/packages_linux.c
617+
src/detection/packages/packages_nix.c
617618
src/detection/poweradapter/poweradapter_nosupport.c
618619
src/detection/processes/processes_linux.c
619620
src/detection/sound/sound_nosupport.c

src/detection/packages/packages.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const char* ffDetectPackages(FFPackagesResult* result, FFPackagesOptions* option
5555
bool ffPackagesReadCache(FFstrbuf* cacheDir, FFstrbuf* cacheContent, const char* filePath, const char* packageId, uint32_t* result);
5656
bool ffPackagesWriteCache(FFstrbuf* cacheDir, FFstrbuf* cacheContent, uint32_t num_elements);
5757

58-
#if (defined(__linux__) && !defined(__ANDROID__)) || defined(__APPLE__)
58+
#if defined(__linux__) || defined(__APPLE__)
5959
uint32_t ffPackagesGetNix(FFstrbuf* baseDir, const char* dirname);
6060
#endif
6161
#ifndef _WIN32

0 commit comments

Comments
 (0)