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

Silence _BSD_SOURCE warnings in glibc 2.20 and forward #2189

Merged
merged 1 commit into from Dec 9, 2014

Conversation

jbergstroem
Copy link
Contributor

See https://sourceware.org/glibc/wiki/Release/2.20#Packaging_Changes

This change should probably go into hiredis as well.

antirez added a commit that referenced this pull request Dec 9, 2014
Silence _BSD_SOURCE warnings in glibc 2.20 and forward
@antirez antirez merged commit b4b4192 into redis:unstable Dec 9, 2014
@antirez
Copy link
Contributor

antirez commented Dec 9, 2014

Thanks! Merged.

@badboy
Copy link
Contributor

badboy commented Dec 9, 2014

Finally: git checkout Makefile :D

mattsta added a commit to redis/hiredis that referenced this pull request Jan 6, 2015
glibc 2.20 requires _DEFAULT_SOURCE and doesn't like _BSD_SOURCE alone

Also see:
 - redis/redis#2189
 - https://sourceware.org/glibc/wiki/Release/2.20#Deprecation_of__BSD_SOURCE_and__SVID_SOURCE_feature_macros

Thanks to badboy for pointing out the problem at
#288 (comment)
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

3 participants