Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not define HAVE_GETSERVBYPORT_R for platforms Android, Cygwin, Darwin #195

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

truboxl
Copy link
Contributor

@truboxl truboxl commented Feb 11, 2024

This PR fix a long standing issue which Android build keep failing due to undefined getservbyport_r in bionic libc.

I think you can close all Android issues for good like #191 since it obviously a user mistake.

@saghul
Copy link
Owner

saghul commented Feb 12, 2024

Can you just delete the lines instead please?

@truboxl
Copy link
Contributor Author

truboxl commented Feb 12, 2024

I don't see other ares_config.h delete the lines

@saghul
Copy link
Owner

saghul commented Feb 12, 2024

So? Delete them please.

@truboxl
Copy link
Contributor Author

truboxl commented Feb 12, 2024

You mean delete the other ares_config.h lines?

@saghul
Copy link
Owner

saghul commented Feb 12, 2024

Instead of putting "undef" and commenting the line out, just delete the line.

@truboxl
Copy link
Contributor Author

truboxl commented Feb 12, 2024

I follow what other ares_config.h do (undef and comment).

So if I do another (delete the line and comments) shouldnt it be applied to others?

@saghul
Copy link
Owner

saghul commented Feb 12, 2024

Oh, sorry! I hadn't realized that's how it was done for other options! This is good then,

@truboxl truboxl changed the title Do not define HAVE_GETSERVBYPORT_R for Android Do not define HAVE_GETSERVBYPORT_R for platforms Android, Cygwin, Darwin Feb 13, 2024
@saghul saghul merged commit de2ed40 into saghul:master Feb 14, 2024
@truboxl truboxl deleted the android branch April 22, 2024 06:07
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.

None yet

2 participants