Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion v3.3/glfw/glfw/src/wl_window.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
// It is fine to use C99 in this file because it will not be built with VS
//========================================================================

#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif

#include "internal.h"

Expand Down Expand Up @@ -3047,4 +3049,3 @@ GLFWAPI struct wl_surface* glfwGetWaylandWindow(GLFWwindow* handle)
_GLFW_REQUIRE_INIT_OR_RETURN(NULL);
return window->wl.surface;
}

3 changes: 2 additions & 1 deletion v3.3/glfw/glfw/src/x11_window.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
// It is fine to use C99 in this file because it will not be built with VS
//========================================================================

#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif

#include "internal.h"

Expand Down Expand Up @@ -3234,4 +3236,3 @@ GLFWAPI const char* glfwGetX11SelectionString(void)
_GLFW_REQUIRE_INIT_OR_RETURN(NULL);
return getSelectionString(_glfw.x11.PRIMARY);
}