diff --git a/src/mir_init.c b/src/mir_init.c index 7f19b60d..c2de5620 100644 --- a/src/mir_init.c +++ b/src/mir_init.c @@ -90,6 +90,11 @@ const char* _glfwPlatformGetVersionString(void) const char* version = _GLFW_VERSION_NUMBER " Mir EGL" #if defined(_POSIX_TIMERS) && defined(_POSIX_MONOTONIC_CLOCK) " clock_gettime" +#else + " gettimeofday" +#endif +#if defined(__linux__) + " /dev/js" #endif #if defined(_GLFW_BUILD_DLL) " shared" diff --git a/src/wl_init.c b/src/wl_init.c index 72ce18eb..280608dd 100644 --- a/src/wl_init.c +++ b/src/wl_init.c @@ -620,9 +620,14 @@ void _glfwPlatformTerminate(void) 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) " clock_gettime" +#else + " gettimeofday" +#endif +#if defined(__linux__) + " /dev/js" #endif #if defined(_GLFW_BUILD_DLL) " shared" diff --git a/src/x11_init.c b/src/x11_init.c index 9c42864c..ea194c9b 100644 --- a/src/x11_init.c +++ b/src/x11_init.c @@ -796,6 +796,8 @@ const char* _glfwPlatformGetVersionString(void) #endif #if defined(_POSIX_TIMERS) && defined(_POSIX_MONOTONIC_CLOCK) " clock_gettime" +#else + " gettimeofday" #endif #if defined(__linux__) " /dev/js"