Replaced ad-hoc Linux detection with __linux__.

This commit is contained in:
Camilla Berglund
2012-11-05 16:19:11 +01:00
parent 2b4c556cd0
commit ad7bf4beba
4 changed files with 11 additions and 18 deletions
+1 -1
View File
@@ -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"