10000 Fix building on old gnu/linux systems by WillyJL · Pull Request #2649 · glfw/glfw · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix building on old gnu/linux systems #2649

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

WillyJL
Copy link
@WillyJL WillyJL commented Nov 22, 2024

Fixes #2495:

  • Some files including time.h were not setting _GNU_SOURCE, so builds failed as CLOCK_REALTIME and CLOCK_MONOTONIC were not defined
  • Header linux/input-event-codes.h was added around 2015 to kernel tree, so it is not available in the old systems in question (Building GLFW 3.4 fails on manylinux2014 and manylinux2010 #2495 references manylinux2014)
  • O_CLOEXEC was also undeclared without _GNU_SOURCE defined

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.

Building GLFW 3.4 fails on manylinux2014 and manylinux2010
1 participant
0