diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index a6e6e2c0..c28df6ba 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -209,6 +209,7 @@ video tutorials. - Brandon Schaefer - Sebastian Schuberth - Jan Schuerkamp + - Scr3amer - Christian Sdunek - Matt Sealey - Steve Sexton @@ -218,6 +219,7 @@ video tutorials. - Dmitri Shuralyov - Joao da Silva - Daniel Sieger + - Daljit Singh - Michael Skec - Daniel Skorupski - Slemmie diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index baea43f0..62291d24 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -317,10 +317,8 @@ if (MSVC90) endif() # Workaround for -std=c99 on Linux disabling _DEFAULT_SOURCE (POSIX 2008 and more) -if (GLFW_BUILD_X11 OR GLFW_BUILD_WAYLAND) - if (CMAKE_SYSTEM_NAME STREQUAL "Linux") - target_compile_definitions(glfw PRIVATE _DEFAULT_SOURCE) - endif() +if (CMAKE_SYSTEM_NAME STREQUAL "Linux") + target_compile_definitions(glfw PRIVATE _DEFAULT_SOURCE) endif() if (GLFW_BUILD_SHARED_LIBRARY) diff --git a/src/null_platform.h b/src/null_platform.h index 1bd980f3..f501bbf1 100644 --- a/src/null_platform.h +++ b/src/null_platform.h @@ -242,7 +242,6 @@ void _glfwSetRawMouseMotionNull(_GLFWwindow *window, GLFWbool enabled); GLFWbool _glfwRawMouseMotionSupportedNull(void); void _glfwShowWindowNull(_GLFWwindow* window); void _glfwRequestWindowAttentionNull(_GLFWwindow* window); -void _glfwRequestWindowAttentionNull(_GLFWwindow* window); void _glfwHideWindowNull(_GLFWwindow* window); void _glfwFocusWindowNull(_GLFWwindow* window); GLFWbool _glfwWindowFocusedNull(_GLFWwindow* window);