Mercurial > sdl-ios-xcode
comparison src/timer/unix/SDL_systimer.c @ 4515:54cbc34229f4
Fixed compile warnings
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 13 Jul 2010 22:26:50 -0700 |
parents | f7b03b6838cb |
children | 481dabb098ef |
comparison
equal
deleted
inserted
replaced
4514:0c71708adbcb | 4515:54cbc34229f4 |
---|---|
29 #include <unistd.h> | 29 #include <unistd.h> |
30 #include <string.h> | 30 #include <string.h> |
31 #include <errno.h> | 31 #include <errno.h> |
32 | 32 |
33 #include "SDL_timer.h" | 33 #include "SDL_timer.h" |
34 #include "../SDL_systimer.h" | |
34 #include "../SDL_timer_c.h" | 35 #include "../SDL_timer_c.h" |
35 | 36 |
36 /* The clock_gettime provides monotonous time, so we should use it if | 37 /* The clock_gettime provides monotonous time, so we should use it if |
37 it's available. The clock_gettime function is behind ifdef | 38 it's available. The clock_gettime function is behind ifdef |
38 for __USE_POSIX199309 | 39 for __USE_POSIX199309 |