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

Replace _XOPEN_SOURCE with _POSIX_C_SOURCE #3185

Merged
merged 1 commit into from
Nov 26, 2018

Conversation

emersion
Copy link
Member

And make sure we don't define both in the same source file.

@@ -1,5 +1,5 @@
#define _POSIX_C_SOURCE 200809L
#define _XOPEN_SOURCE 700
#define _POSIX_C_SOURCE 200809L
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_POSIX_C_SOURCE is defined twice here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Since it's defined twice with the same value the compiler didn't complain. Fixed!

And make sure we don't define both in the same source file.
@RyanDwyer RyanDwyer merged commit af7a976 into swaywm:master Nov 26, 2018
@RyanDwyer
Copy link
Member

Thanks!

@emersion emersion deleted the remove-xopen-source branch January 18, 2019 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants