Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8957c693 authored by Colin Cross's avatar Colin Cross
Browse files

Support building libwatchdog against musl

Support building libwatchdog against musl by moving the
sigev_notify_thread_id hack to only apply to glibc, musl provides
a #define.

Bug: 190084016
Test: m USE_HOST_MUSL=true libwatchdog
Change-Id: I47ce73014f0bcc0c40591192e4240381c441c67e
parent 48ec4136
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ cc_library {
        darwin: {
            enabled: false,
        },
        linux_glibc: {
        glibc: {
            cflags: [
                "-Dsigev_notify_thread_id=_sigev_un._tid",
            ],