mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 08:39:45 +00:00
Replaced ad-hoc Linux detection with __linux__.
This commit is contained in:
+1
-1
@@ -719,7 +719,7 @@ const char* _glfwPlatformGetVersionString(void)
|
||||
#if defined(_POSIX_TIMERS) && defined(_POSIX_MONOTONIC_CLOCK)
|
||||
" clock_gettime"
|
||||
#endif
|
||||
#if defined(_GLFW_HAS_LINUX_JOYSTICKS)
|
||||
#if defined(__linux__)
|
||||
" Linux-joystick-API"
|
||||
#else
|
||||
" no-joystick-support"
|
||||
|
||||
Reference in New Issue
Block a user