mirror of
https://github.com/glfw/glfw.git
synced 2024-11-14 02:31:46 +00:00
Added missing entries to Linux version strings.
This commit is contained in:
parent
b067bb6304
commit
ef6dec17ba
@ -90,6 +90,11 @@ const char* _glfwPlatformGetVersionString(void)
|
|||||||
const char* version = _GLFW_VERSION_NUMBER " Mir EGL"
|
const char* version = _GLFW_VERSION_NUMBER " Mir EGL"
|
||||||
#if defined(_POSIX_TIMERS) && defined(_POSIX_MONOTONIC_CLOCK)
|
#if defined(_POSIX_TIMERS) && defined(_POSIX_MONOTONIC_CLOCK)
|
||||||
" clock_gettime"
|
" clock_gettime"
|
||||||
|
#else
|
||||||
|
" gettimeofday"
|
||||||
|
#endif
|
||||||
|
#if defined(__linux__)
|
||||||
|
" /dev/js"
|
||||||
#endif
|
#endif
|
||||||
#if defined(_GLFW_BUILD_DLL)
|
#if defined(_GLFW_BUILD_DLL)
|
||||||
" shared"
|
" shared"
|
||||||
|
@ -623,6 +623,11 @@ const char* _glfwPlatformGetVersionString(void)
|
|||||||
const char* version = _GLFW_VERSION_NUMBER " Wayland EGL"
|
const char* version = _GLFW_VERSION_NUMBER " Wayland EGL"
|
||||||
#if defined(_POSIX_TIMERS) && defined(_POSIX_MONOTONIC_CLOCK)
|
#if defined(_POSIX_TIMERS) && defined(_POSIX_MONOTONIC_CLOCK)
|
||||||
" clock_gettime"
|
" clock_gettime"
|
||||||
|
#else
|
||||||
|
" gettimeofday"
|
||||||
|
#endif
|
||||||
|
#if defined(__linux__)
|
||||||
|
" /dev/js"
|
||||||
#endif
|
#endif
|
||||||
#if defined(_GLFW_BUILD_DLL)
|
#if defined(_GLFW_BUILD_DLL)
|
||||||
" shared"
|
" shared"
|
||||||
|
@ -796,6 +796,8 @@ const char* _glfwPlatformGetVersionString(void)
|
|||||||
#endif
|
#endif
|
||||||
#if defined(_POSIX_TIMERS) && defined(_POSIX_MONOTONIC_CLOCK)
|
#if defined(_POSIX_TIMERS) && defined(_POSIX_MONOTONIC_CLOCK)
|
||||||
" clock_gettime"
|
" clock_gettime"
|
||||||
|
#else
|
||||||
|
" gettimeofday"
|
||||||
#endif
|
#endif
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
" /dev/js"
|
" /dev/js"
|
||||||
|
Loading…
Reference in New Issue
Block a user