Skip to content

Commit

Permalink
Reinstate _GNU_SOURCE
Browse files Browse the repository at this point in the history
This was removed at some point creating a difference between downstream and
upstream. The reason for doing so is unclear, so I'm reinstating it in the
interest of minimizing the downstream diff.

If it is needed, it should be applied as a patch from scripts/grab-upstream.sh.
  • Loading branch information
pwaller committed Feb 21, 2020
1 parent 7ae391c commit bac7f0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/grab-upstream.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ if test -n "$(git status --porcelain)"; then
echo " 2. Run scripts/grab-upstream.sh from the top-level directory"
echo " 3. Submit the result as a pull request"
echo
echo "If you must apply patches, please do it in grab-upstream.sh so that"
echo "these patches are described programmatically."
echo
} 1>&2
exit 1
fi
2 changes: 2 additions & 0 deletions v3.2/glfw/glfw/src/wl_window.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
//
//========================================================================

#define _GNU_SOURCE

#include "internal.h"

#include <stdio.h>
Expand Down

0 comments on commit bac7f0e

Please sign in to comment.