Skip to content

Conversation

@fornellas
Copy link

This PR fixes this build warning:

# github.com/go-gl/glfw/v3.3/glfw
In file included from ../../.cache/cgs/GOMODCACHE/github.com/go-gl/glfw/v3.3/[email protected]/c_glfw_lin.go:10:
../../.cache/cgs/GOMODCACHE/github.com/go-gl/glfw/v3.3/[email protected]/glfw/src/wl_window.c:29:9: warning: ‘_GNU_SOURCE’ redefined
   29 | #define _GNU_SOURCE
      |         ^~~~~~~~~~~
<command-line>: note: this is the location of the previous definition

@fornellas fornellas marked this pull request as ready for review December 8, 2025 15:25
@Jacalz
Copy link
Collaborator

Jacalz commented Dec 8, 2025

Thanks. As I commented on in #359 (comment), these files are imported from the upstream Glfw project. I'd suggest opening a PR upstream and making sure that your changes here are applied with a patch file one regenerating Glfw sources (see the scripts folder).

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.

2 participants