src/timer/unix/SDL_systimer.c
changeset 1598 5a6893ebc15a
parent 1402 d910939febfa
child 1635 92947e3a18db
equal deleted inserted replaced
1597:06e9f1c7611b 1598:5a6893ebc15a
    34 /* The clock_gettime provides monotonous time, so we should use it if
    34 /* The clock_gettime provides monotonous time, so we should use it if
    35    it's available. The clock_gettime function is behind ifdef
    35    it's available. The clock_gettime function is behind ifdef
    36    for __USE_POSIX199309
    36    for __USE_POSIX199309
    37    Tommi Kyntola (tommi.kyntola@ray.fi) 27/09/2005
    37    Tommi Kyntola (tommi.kyntola@ray.fi) 27/09/2005
    38 */
    38 */
    39 #if HAVE_CLOCK_GETTIME
    39 #if HAVE_NANOSLEEP || HAVE_CLOCK_GETTIME
    40 #include <time.h>
    40 #include <time.h>
    41 #endif
    41 #endif
    42 
    42 
    43 #if SDL_THREAD_PTH
    43 #if SDL_THREAD_PTH
    44 #include <pth.h>
    44 #include <pth.h>