JvanKatwijk / dab-cmdline

DAB decoding library with example of its use
GNU General Public License v2.0
57 stars 29 forks source link

semaphore.h clashes with system semaphore.h #88

Closed srcejon closed 1 year ago

srcejon commented 1 year ago

Hi,

I've cross compiled dab-cmdline for Android. One problem is that library/includes/support/semaphore.h causes a compilation failure (with clang), as it gets picked up instead of the system semaphore.h. (E.g. https://pubs.opengroup.org/onlinepubs/7908799/xsh/semaphore.h.html)

Renaming library/includes/support/semaphore.h to something else (E.g. dab-semaphore.h) fixes it.

JvanKatwijk commented 1 year ago

good point, I'll make a change

Op do 22 dec. 2022 om 14:20 schreef srcejon @.***>:

Hi,

I've cross compiled dab-cmdline for Android. One problem is that library/includes/support/semaphore.h causes a compilation failure (with clang), as it gets picked up instead of the system semaphore.h. (E.g. https://pubs.opengroup.org/onlinepubs/7908799/xsh/semaphore.h.html)

Renaming library/includes/support/semaphore.h to something else (E.g. dab-semaphore.h) fixes it.

— Reply to this email directly, view it on GitHub https://github.com/JvanKatwijk/dab-cmdline/issues/88, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCPHQEUIT5UKZDIFIANDK3WORIQ7ANCNFSM6AAAAAATGW6REI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Jan van Katwijk