Skip to content

Commit 8c26e77

Browse files
committed
InitSystem (Android): don't break build
1 parent e174edd commit 8c26e77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/detection/initsystem/initsystem_linux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const char* ffDetectInitSystem(FFInitSystemResult* result)
4646

4747
if (instance.config.general.detectVersion)
4848
{
49-
#ifdef __linux__
49+
#if __linux__ && !__ANDROID__
5050
if (ffStrbufEqualS(&result->name, "systemd"))
5151
{
5252
ffElfExtractStrings(result->exe.chars, elfExtractStringsCallBack, &result->version);

0 commit comments

Comments
 (0)