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

fix memrchr detection #3

Closed
wants to merge 1 commit into from
Closed

fix memrchr detection #3

wants to merge 1 commit into from

Conversation

mirabilos
Copy link

This function is defined not on Linux but on GNU, that is, systems with glibc 2.2 or higher; also, use an intermediate HAVE_MEMRCHR symbol that people with alternative C libraries can define to indicate its presence.

This fix is necessary to allow building on GNU/Hurd and GNU/kFreeBSD, both of which have architectures present in Debian.

this function is defined not on Linux but on GNU, that is,
systems with glibc 2.2 or higher; also, use an intermediate
HAVE_MEMRCHR symbol that people with alternative C libraries
can define to indicate its presence
@Lord-Kamina
Copy link

I think maybe you ought to send this upstream to https://github.com/google/compact_enc_det instead.

@mirabilos
Copy link
Author

mirabilos commented Jul 29, 2019 via email

@Lord-Kamina
Copy link

I guess we could merge it here and send it upstream from here.

@mirabilos
Copy link
Author

mirabilos commented Jul 29, 2019

Submitted as google#16

Edit: Oh, I see you commented in the meanwhile… mh anyway, having it fixed in both won’t hurt.

@Baklap4
Copy link
Member

Baklap4 commented Mar 19, 2020

closing in favor of #3

@Baklap4 Baklap4 closed this Mar 19, 2020
@Baklap4 Baklap4 mentioned this pull request Mar 19, 2020
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.

3 participants