Skip to content

Conversation

@ChristophStrehle
Copy link

@ChristophStrehle ChristophStrehle commented Jan 14, 2026

Fix a compile break when building with _LIBCPP_HAS_MUSL_LIBC and an Android API older then 28

On Android both __linux__ and __ANDROID__ are defined. First check for __ANDROID__ to get the correct behavior and not run into the Linux case

Compile break was introduced with
8b80ad7

This commit is missing in the upstream repository at https://github.com/chriskohlhoff/asio. Therefore I opened this PR here.

Fix a compile break when building with _LIBCPP_HAS_MUSL_LIBC and
an Android API older then 28

On Android both __linux__ and __ANDROID__ are defined. First check for
__ANDROID__ to get the correct behavior and not run into the Linux case

Compile break was introduced with
8b80ad7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant