comparison src/timer/linux/SDL_systimer.c @ 166:39877400bd1e

Fixed Solaris nitpicks (thanks Mattias!)
author Sam Lantinga <slouken@libsdl.org>
date Tue, 04 Sep 2001 22:48:09 +0000
parents cf2af46e9e2a
children e8157fcb3114
comparison
equal deleted inserted replaced
165:6a4e09bbbbc0 166:39877400bd1e
44 #define USE_ITIMER 44 #define USE_ITIMER
45 #endif 45 #endif
46 46
47 /* The following defines should really be determined at configure time */ 47 /* The following defines should really be determined at configure time */
48 48
49 #ifdef linux 49 #if defined(linux)
50 /* Linux select() changes its timeout parameter upon return to contain 50 /* Linux select() changes its timeout parameter upon return to contain
51 the remaining time. Most other unixen leave it unchanged or undefined. */ 51 the remaining time. Most other unixen leave it unchanged or undefined. */
52 #define SELECT_SETS_REMAINING 52 #define SELECT_SETS_REMAINING
53 #elif defined(__bsdi__) || defined(__FreeBSD__) || defined(__sun__) 53 #elif defined(__bsdi__) || defined(__FreeBSD__) || defined(__sun)
54 #define USE_NANOSLEEP 54 #define USE_NANOSLEEP
55 #endif 55 #endif
56 56
57 57
58 /* The first ticks value of the application */ 58 /* The first ticks value of the application */